广汽安道拓Acura项目MES后台
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.

67 lines
4.0 KiB

  1. // Copyright (c) Shenyang Leading Edge Intelligent Technology Co., Ltd. All rights reserved.
  2. package pln
  3. import (
  4. "LAPP_ACURA_MOM_BACKEND/grmi"
  5. "xorm.io/core"
  6. )
  7. /******************************************************************************
  8. *
  9. * @Struct Name : HondaDemandItemLst
  10. *-----------------------------------------------------------------------------
  11. *
  12. * @Description : HondaDemandItemLst的实体映射
  13. *
  14. * @Author : 代码生成器创建
  15. *
  16. * @Date : 2021-10-20 09:58:33
  17. *
  18. ******************************************************************************/
  19. type HondaDemandItemLst struct {
  20. PlantNr int `xorm:"pk int 'PlantNr'" json:"PLN_HondaDemandItemLst-PlantNr"`
  21. DemandId string `xorm:"pk nvarchar(40) 'DemandId'" json:"PLN_HondaDemandItemLst-DemandId"`
  22. Pos int `xorm:"pk int 'Pos'" json:"PLN_HondaDemandItemLst-Pos"`
  23. DeliveryDate grmi.Date `xorm:"date 'DeliveryDate' not null" json:"PLN_HondaDemandItemLst-DeliveryDate"`
  24. SeqNr int `xorm:"int 'SeqNr' not null" json:"PLN_HondaDemandItemLst-SeqNr"`
  25. VinPrefix string `xorm:"nvarchar(40) 'VinPrefix' not null" json:"PLN_HondaDemandItemLst-VinPrefix"`
  26. VinNrFrom int `xorm:"int 'VinNrFrom' not null" json:"PLN_HondaDemandItemLst-VinNrFrom"`
  27. VinNrTo int `xorm:"int 'VinNrTo' not null" json:"PLN_HondaDemandItemLst-VinNrTo"`
  28. ConfigValue string `xorm:"nvarchar(40) 'ConfigValue' not null" json:"PLN_HondaDemandItemLst-ConfigValue"`
  29. ModelValue string `xorm:"nvarchar(40) 'ModelValue' not null" json:"PLN_HondaDemandItemLst-ModelValue"`
  30. ColorValue string `xorm:"nvarchar(40) 'ColorValue' not null" json:"PLN_HondaDemandItemLst-ColorValue"`
  31. ProductFamilyId string `xorm:"nvarchar(40) 'ProductFamilyId' not null" json:"PLN_HondaDemandItemLst-ProductFamilyId"`
  32. PlanQty int `xorm:"int 'PlanQty' not null" json:"PLN_HondaDemandItemLst-PlanQty"`
  33. Color string `xorm:"nvarchar(40) 'Color' not null" json:"PLN_HondaDemandItemLst-Color"`
  34. Grade string `xorm:"nvarchar(40) 'Grade' not null" json:"PLN_HondaDemandItemLst-Grade"`
  35. OrderType string `xorm:"nvarchar(20) 'OrderType' not null" json:"PLN_HondaDemandItemLst-OrderType"`
  36. ProductType string `xorm:"nvarchar(20) 'ProductType' not null" json:"PLN_HondaDemandItemLst-ProductType"`
  37. CtrlPara1 int `xorm:"int 'CtrlPara1' not null" json:"PLN_HondaDemandItemLst-CtrlPara1"`
  38. CtrlPara2 int `xorm:"int 'CtrlPara2' not null" json:"PLN_HondaDemandItemLst-CtrlPara2"`
  39. CtrlStr1 string `xorm:"nvarchar(255) 'CtrlStr1' not null" json:"PLN_HondaDemandItemLst-CtrlStr1"`
  40. CtrlStr2 string `xorm:"nvarchar(255) 'CtrlStr2' not null" json:"PLN_HondaDemandItemLst-CtrlStr2"`
  41. CtrlTime1 grmi.DateTime `xorm:"datetime 'CtrlTime1' not null" json:"PLN_HondaDemandItemLst-CtrlTime1"`
  42. CtrlTime2 grmi.DateTime `xorm:"datetime 'CtrlTime2' not null" json:"PLN_HondaDemandItemLst-CtrlTime2"`
  43. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"PLN_HondaDemandItemLst-LastModify"`
  44. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"PLN_HondaDemandItemLst-LastUser"`
  45. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"PLN_HondaDemandItemLst-CreateTime"`
  46. }
  47. /******************************************************************************
  48. *
  49. * @Function Name : GetKey
  50. *-----------------------------------------------------------------------------
  51. *
  52. * @Description : 获取实体的主键
  53. *
  54. * @Return Value : 实体的主键
  55. *
  56. * @Author : 代码生成器创建
  57. *
  58. * @Date : 2021-10-20 09:58:33
  59. *
  60. ******************************************************************************/
  61. func (self *HondaDemandItemLst) GetKey() core.PK {
  62. return core.PK{self.PlantNr, self.DemandId, self.Pos}
  63. }