123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- package model
- import "time"
- type BigContract struct {
- ID int `gorm:"column:id"`
- CGChargeID int `gorm:"column:CGChargeId"`
- CGChargedate time.Time `gorm:"column:CGChargedate"`
- KGChargeID int `gorm:"column:KGChargeId"`
- KGChargedate time.Time `gorm:"column:KGChargedate"`
- SHStatus int `gorm:"column:SHStatus"`
- SHdateTime time.Time `gorm:"column:SHdateTime"`
- SHtype int `gorm:"column:SHtype"`
- ChargeDate time.Time `gorm:"column:chargeDate"`
- ChargeID int `gorm:"column:chargeId"`
- ContractCode string `gorm:"column:contractCode"`
- CreatorID int `gorm:"column:creatorId"`
- ProviderID int `gorm:"column:providerId"`
- CreatorMan string `gorm:"column:creatorMan"`
- CreatorTime string `gorm:"column:creatorTime"`
- Enable int `gorm:"column:enable"`
- Flag int `gorm:"column:flag"`
- FlowCompeleted int `gorm:"column:flowCompeleted"`
- IsZeroStock int `gorm:"column:isZeroStock"`
- PastureID int `gorm:"column:pastureId"`
- PastureNamesNow string `gorm:"column:pastureNamesNow"`
- PastureNamesOld string `gorm:"column:pastureNamesOld"`
- PrecontractCode string `gorm:"column:precontractCode"`
- ProviderName string `gorm:"column:providerName"`
- Remark string `gorm:"column:remark"`
- StartTime string `gorm:"column:startTime"`
- Statue int `gorm:"column:statue"`
- StopTime string `gorm:"column:stopTime"`
- StopTimeHis time.Time `gorm:"column:stopTimeHis"`
- StopTimeTem time.Time `gorm:"column:stopTimeTem"`
- WorkflowID int `gorm:"column:workflowId"`
- WorkflowNote string `gorm:"column:workflowNote"`
- IsToSap int32 `gorm:"IsToSap"`
- }
- func (b *BigContract) TableName() string {
- return "bigcontract"
- }
- type Contract struct {
- ID int `gorm:"column:id"`
- BigID int `gorm:"column:bigId"`
- Brand string `gorm:"column:brand"`
- BrandID int `gorm:"column:brandId"`
- ChangeID int `gorm:"column:changeId"`
- Enable int `gorm:"column:enable"`
- InventoryType int `gorm:"column:inventoryType"`
- IsZeroStock int `gorm:"column:isZeroStock"`
- PartCode string `gorm:"column:partCode"`
- PartID int `gorm:"column:partId"`
- PartName string `gorm:"column:partName"`
- PastureID int `gorm:"column:pastureId"`
- PastureName string `gorm:"column:pastureName"`
- PlanAmount string `gorm:"column:planAmount"`
- Price float64 `gorm:"column:price"`
- Remark string `gorm:"column:remark"`
- Specification string `gorm:"column:specification"`
- Unit string `gorm:"column:unit"`
- IsToSap int64 `gorm:"column:isToSap"`
- }
- func (c *Contract) TableName() string {
- return "contract"
- }
|