You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
3.6 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package pj
  3. import (
  4. "LEIT_PM/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : ProjectPaymentPhaseLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : ProjectPaymentPhaseLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-09-06 13:59:55
  17. *
  18. ******************************************************************************/
  19. type ProjectPaymentPhaseLst struct {
  20. ProjectId string `xorm:"pk nvarchar(40) 'ProjectId'" json:"PJ_ProjectPaymentPhaseLst-ProjectId"`
  21. PaymentPhaseId string `xorm:"pk nvarchar(40) 'PaymentPhaseId'" json:"PJ_ProjectPaymentPhaseLst-PaymentPhaseId"`
  22. Descr string `xorm:"nvarchar(255) 'Descr' not null" json:"PJ_ProjectPaymentPhaseLst-Descr"`
  23. PhaseType string `xorm:"nvarchar(40) 'PhaseType' not null" json:"PJ_ProjectPaymentPhaseLst-PhaseType"`
  24. PayableAmount float64 `xorm:"float 'PayableAmount' not null" json:"PJ_ProjectPaymentPhaseLst-PayableAmount"`
  25. Piaojuhao string `xorm:"nvarchar(100) 'Piaojuhao' not null" json:"PJ_ProjectPaymentPhaseLst-Piaojuhao"`
  26. Kaipiaojine float64 `xorm:"float(53) 'Kaipiaojine' not null" json:"PJ_ProjectPaymentPhaseLst-Kaipiaojine"`
  27. Kaipiaoriqi grmi.Date `xorm:"date 'Kaipiaoriqi'" json:"PJ_ProjectPaymentPhaseLst-Kaipiaoriqi"`
  28. AmountPaid float64 `xorm:"float 'AmountPaid' not null" json:"PJ_ProjectPaymentPhaseLst-AmountPaid"`
  29. PlanPaymentDate grmi.Date `xorm:"date 'PlanPaymentDate'" json:"PJ_ProjectPaymentPhaseLst-PlanPaymentDate"`
  30. ActualPaymentDate grmi.Date `xorm:"date 'ActualPaymentDate'" json:"PJ_ProjectPaymentPhaseLst-ActualPaymentDate"`
  31. Status int `xorm:"int 'Status' not null" json:"PJ_ProjectPaymentPhaseLst-Status"`
  32. //不显示
  33. CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"PJ_ProjectPaymentPhaseLst-CtrlPara1"`
  34. CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"PJ_ProjectPaymentPhaseLst-CtrlPara2"`
  35. CtrlStr1 string `xorm:"nvarchar(255) 'CtrlStr1' not null" json:"PJ_ProjectPaymentPhaseLst-CtrlStr1"`
  36. CtrlStr2 string `xorm:"nvarchar(255) 'CtrlStr2' not null" json:"PJ_ProjectPaymentPhaseLst-CtrlStr2"`
  37. CtrlTime1 grmi.Date `xorm:"date 'CtrlTime1'" json:"PJ_ProjectPaymentPhaseLst-CtrlTime1"`
  38. CtrlTime2 grmi.Date `xorm:"date 'CtrlTime2'" json:"PJ_ProjectPaymentPhaseLst-CtrlTime2"`
  39. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"PJ_ProjectPaymentPhaseLst-LastModify"`
  40. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"PJ_ProjectPaymentPhaseLst-LastUser"`
  41. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"PJ_ProjectPaymentPhaseLst-CreateTime"`
  42. }
  43. /******************************************************************************
  44. *
  45. * @Function Name : GetKey
  46. *-----------------------------------------------------------------------------
  47. *
  48. * @Description : 获取实体的主键
  49. *
  50. * @Return Value : 实体的主键
  51. *
  52. * @Author : 代码生成器创建
  53. *
  54. * @Date : 2021-09-06 13:59:55
  55. *
  56. ******************************************************************************/
  57. func (self *ProjectPaymentPhaseLst) GetKey() core.PK {
  58. return core.PK{self.ProjectId, self.PaymentPhaseId}
  59. }