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"` } 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 string `gorm:"column:price"` Remark string `gorm:"column:remark"` Specification string `gorm:"column:specification"` Unit string `gorm:"column:unit"` }