GAAS 广汽安道拓GFrame金属件MOM项目
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.

23 lines
1.1 KiB

  1. package base
  2. import (
  3. "leit.com/LAPP_GAAS_GFrame/grmi"
  4. "xorm.io/core"
  5. )
  6. //WorkLineSpecialDay的实体映射
  7. type WorkLineSpecialDay struct {
  8. PlantNr int `xorm:"pk int 'PlantNr'" json:"WorkLineSpecialDay-PlantNr"`
  9. WorkLineid string `xorm:"pk nvarchar(40) 'WorkLineid'" json:"WorkLineSpecialDay-WorkLineid"`
  10. SpecialDay string `xorm:"pk nvarchar(8) 'SpecialDay'" json:"WorkLineSpecialDay-SpecialDay"`
  11. DayModelNr int `xorm:"int 'DayModelNr' not null" json:"WorkLineSpecialDay-DayModelNr"`
  12. Descr string `xorm:"nvarchar(100) 'Descr' not null" json:"WorkLineSpecialDay-Descr"`
  13. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"WorkLineSpecialDay-LastModify"`
  14. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"WorkLineSpecialDay-LastUser"`
  15. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"WorkLineSpecialDay-CreateTime"`
  16. }
  17. //获取WorkLineSpecialDay的主键
  18. func (self *WorkLineSpecialDay) GetKey() core.PK {
  19. return core.PK{self.PlantNr, self.WorkLineid, self.SpecialDay}
  20. }