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.

33 lines
2.4 KiB

  1. package om
  2. import (
  3. "leit.com/LAPP_GAAS_GFrame/grmi"
  4. "xorm.io/core"
  5. )
  6. //ProdOrderQtyRecLst的实体映射
  7. type ProdOrderQtyRecLst struct {
  8. PlantNr int `xorm:"pk int 'PlantNr'" json:"OM_ProdOrderQtyRecLst-PlantNr"`
  9. ProdOrderId string `xorm:"pk nvarchar(40) 'ProdOrderId'" json:"OM_ProdOrderQtyRecLst-ProdOrderId"`
  10. Pos int `xorm:"pk int 'Pos'" json:"OM_ProdOrderQtyRecLst-Pos"`
  11. ActQty float64 `xorm:"float 'ActQty' not null" json:"OM_ProdOrderQtyRecLst-ActQty"`
  12. OrderQtyType string `xorm:"nvarchar(20) 'OrderQtyType' not null" json:"OM_ProdOrderQtyRecLst-OrderQtyType"`
  13. RecordTime string `xorm:"nvarchar(14) 'RecordTime' not null" json:"OM_ProdOrderQtyRecLst-RecordTime"`
  14. TriggerEvent string `xorm:"nvarchar(40) 'TriggerEvent' not null" json:"OM_ProdOrderQtyRecLst-TriggerEvent"`
  15. TriggerObjectId string `xorm:"nvarchar(40) 'TriggerObjectId' not null" json:"OM_ProdOrderQtyRecLst-TriggerObjectId"`
  16. TriggerSubObjectId string `xorm:"nvarchar(40) 'TriggerSubObjectId' not null" json:"OM_ProdOrderQtyRecLst-TriggerSubObjectId"`
  17. OutputEvent string `xorm:"nvarchar(40) 'OutputEvent' not null" json:"OM_ProdOrderQtyRecLst-OutputEvent"`
  18. OutputEventMessageId string `xorm:"nvarchar(40) 'OutputEventMessageId' not null" json:"OM_ProdOrderQtyRecLst-OutputEventMessageId"`
  19. OutputObjectId string `xorm:"nvarchar(40) 'OutputObjectId' not null" json:"OM_ProdOrderQtyRecLst-OutputObjectId"`
  20. OutputSubObjectId string `xorm:"nvarchar(40) 'OutputSubObjectId' not null" json:"OM_ProdOrderQtyRecLst-OutputSubObjectId"`
  21. Remark1 string `xorm:"nvarchar(100) 'Remark1' not null" json:"OM_ProdOrderQtyRecLst-Remark1"`
  22. Remark2 string `xorm:"nvarchar(100) 'Remark2' not null" json:"OM_ProdOrderQtyRecLst-Remark2"`
  23. LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"OM_ProdOrderQtyRecLst-LastModify"`
  24. LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"OM_ProdOrderQtyRecLst-LastUser"`
  25. CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"OM_ProdOrderQtyRecLst-CreateTime"`
  26. }
  27. //获取ProdOrderQtyRecLst的主键
  28. func (self *ProdOrderQtyRecLst) GetKey() core.PK {
  29. return core.PK{self.PlantNr, self.ProdOrderId, self.Pos}
  30. }