1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package model
- import "time"
- type Maintain struct {
- ID int64 `gorm:"column:id"`
- PastureId string `gorm:"column:pastureId" json:"pastureId"`
- DepartmentId int64 `gorm:"column:departmentId" json:"departmentId"`
- RepairCode string `gorm:"column:repairCode" json:"repairCode"`
- EqId int64 `gorm:"column:eqId" json:"eqId"`
- EqName string `gorm:"column:eqName" json:"eqName"`
- EqCode string `gorm:"column:eqCode" json:"eqCode"`
- EqClassId int64 `gorm:"column:eqClassId" json:"eqClassId"`
- PositionId int64 `gorm:"column:positionId" json:"positionId"`
- PhenomenId int64 `gorm:"column:phenomenId" json:"phenomenId"`
- Details string `gorm:"column:details" json:"details"`
- RequesterId int64 `gorm:"column:requesterId" json:"requesterId"`
- RequestTime time.Time `gorm:"column:requestTime" json:"requestTime"`
- RequestImg string `gorm:"column:requestImg" json:"requestImg"`
- PickId int64 `gorm:"column:pickId" json:"pickId"`
- OrderTime time.Time `gorm:"column:orderTime" json:"orderTime"`
- OrderStatue int64 `gorm:"column:orderStatue" json:"orderStatue"`
- DisposeId int64 `gorm:"column:disposeId" json:"disposeId"`
- DealTime time.Time `gorm:"column:dealTime" json:"dealTime"`
- DealImg string `gorm:"column:dealImg" json:"dealImg"`
- StopTime time.Time `gorm:"column:stopTime" json:"stopTime"`
- RepairDept int64 `gorm:"column:repairDept " json:"repairDept"`
- CheckResult string `gorm:"column:checkResult" json:"checkResult"`
- RepairNote string `gorm:"column:repairNote" json:"repairNote"`
- WorkflowId int64 `gorm:"column:workflowId" json:"workflowId"`
- FlowCompeleted int64 `gorm:"column:flowCompeleted" json:"flowCompeleted"`
- WorkflowNote string `gorm:"column:workflowNote" json:"workflowNote"`
- ChargeId int64 `gorm:"column:chargeId" json:"chargeId"`
- ChargeDate time.Time `gorm:"column:chargeDate" json:"chargeDate"`
- UseChargeId int64 `gorm:"column:useChargeId" json:"useChargeId"`
- UseChargeDate time.Time `gorm:"column:useChargeDate" json:"useChargeDate"`
- RepairCost float64 `gorm:"column:repairCost" json:"repairCost"`
- Scores string `gorm:"column:scores" json:"scores"`
- ShutdownDate time.Time `gorm:"column:shutdownDate" json:"shutdownDate"`
- ShutdownPerson int64 `gorm:"column:shutdownPerson" json:"shutdownPerson"`
- ShutdownReason string `gorm:"column:shutdownReason" json:"shutdownReason"`
- CreatDate string `gorm:"column:creatDate" json:"creatDate"`
- }
|