|
|
- package log
-
- import (
- "leit.com/LAPP_GAAS_GFrame/grmi"
- "xorm.io/core"
- )
-
- //ArtDemandHead的实体映射
- type ArtDemandHead struct {
- PlantNr int `xorm:"pk int 'PlantNr'" json:"LOG_ArtDemandHead-PlantNr"`
- ArtId string `xorm:"pk nvarchar(40) 'ArtId'" json:"LOG_ArtDemandHead-ArtId"`
- DemandId string `xorm:"pk nvarchar(40) 'DemandId'" json:"LOG_ArtDemandHead-DemandId"`
- DemandType string `xorm:"nvarchar(40) 'DemandType' not null" json:"LOG_ArtDemandHead-DemandType"`
- DemandYear int `xorm:"int 'DemandYear' not null" json:"LOG_ArtDemandHead-DemandYear"`
- DemandMonth int `xorm:"int 'DemandMonth' not null" json:"LOG_ArtDemandHead-DemandMonth"`
- DemandWeek int `xorm:"int 'DemandWeek' not null" json:"LOG_ArtDemandHead-DemandWeek"`
- DemandDate grmi.DateTime `xorm:"datetime 'DemandDate' not null" json:"LOG_ArtDemandHead-DemandDate"`
- DemandHour int `xorm:"int 'DemandHour' not null" json:"LOG_ArtDemandHead-DemandHour"`
- DemandTime grmi.DateTime `xorm:"datetime 'DemandTime'" json:"LOG_ArtDemandHead-DemandTime"`
- DemandQty float64 `xorm:"float 'DemandQty' not null" json:"LOG_ArtDemandHead-DemandQty"`
- QtyUomId string `xorm:"nvarchar(40) 'QtyUomId' not null" json:"LOG_ArtDemandHead-QtyUomId"`
- Status int `xorm:"int 'Status' not null" json:"LOG_ArtDemandHead-Status"`
- DemandSendTime grmi.DateTime `xorm:"datetime 'DemandSendTime'" json:"LOG_ArtDemandHead-DemandSendTime"`
- DemandRecieveTime grmi.DateTime `xorm:"datetime 'DemandRecieveTime'" json:"LOG_ArtDemandHead-DemandRecieveTime"`
- DemandConfirmTime grmi.DateTime `xorm:"datetime 'DemandConfirmTime'" json:"LOG_ArtDemandHead-DemandConfirmTime"`
- DemandCloseTime grmi.DateTime `xorm:"datetime 'DemandCloseTime'" json:"LOG_ArtDemandHead-DemandCloseTime"`
- DemandDeliveredQty float64 `xorm:"float 'DemandDeliveredQty' not null" json:"LOG_ArtDemandHead-DemandDeliveredQty"`
- DemandCtrlPara1 int `xorm:"int 'DemandCtrlPara1' not null" json:"LOG_ArtDemandHead-DemandCtrlPara1"`
- DemandCtrlPara2 int `xorm:"int 'DemandCtrlPara2' not null" json:"LOG_ArtDemandHead-DemandCtrlPara2"`
- DemandCtrlPara3 string `xorm:"nvarchar(100) 'DemandCtrlPara3' not null" json:"LOG_ArtDemandHead-DemandCtrlPara3"`
- DemandCtrlPara4 string `xorm:"nvarchar(100) 'DemandCtrlPara4' not null" json:"LOG_ArtDemandHead-DemandCtrlPara4"`
- DemandCtrlTime1 grmi.DateTime `xorm:"datetime 'DemandCtrlTime1'" json:"LOG_ArtDemandHead-DemandCtrlTime1"`
- DemandCtrlTime2 grmi.DateTime `xorm:"datetime 'DemandCtrlTime2'" json:"LOG_ArtDemandHead-DemandCtrlTime2"`
- LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"LOG_ArtDemandHead-LastModify"`
- LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"LOG_ArtDemandHead-LastUser"`
- CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"LOG_ArtDemandHead-CreateTime"`
- }
-
- //获取ArtDemandHead的主键
- func (self *ArtDemandHead) GetKey() core.PK {
- return core.PK{self.PlantNr, self.ArtId, self.DemandId}
- }
|