maintain.go 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package model
  2. import "time"
  3. type Maintain struct {
  4. ID int64 `gorm:"column:id"`
  5. PastureId string `gorm:"column:pastureId" json:"pastureId"`
  6. DepartmentId int64 `gorm:"column:departmentId" json:"departmentId"`
  7. RepairCode string `gorm:"column:repairCode" json:"repairCode"`
  8. EqId int64 `gorm:"column:eqId" json:"eqId"`
  9. EqName string `gorm:"column:eqName" json:"eqName"`
  10. EqCode string `gorm:"column:eqCode" json:"eqCode"`
  11. EqClassId int64 `gorm:"column:eqClassId" json:"eqClassId"`
  12. PositionId int64 `gorm:"column:positionId" json:"positionId"`
  13. PhenomenId int64 `gorm:"column:phenomenId" json:"phenomenId"`
  14. Details string `gorm:"column:details" json:"details"`
  15. RequesterId int64 `gorm:"column:requesterId" json:"requesterId"`
  16. RequestTime time.Time `gorm:"column:requestTime" json:"requestTime"`
  17. RequestImg string `gorm:"column:requestImg" json:"requestImg"`
  18. PickId int64 `gorm:"column:pickId" json:"pickId"`
  19. OrderTime time.Time `gorm:"column:orderTime" json:"orderTime"`
  20. OrderStatue int64 `gorm:"column:orderStatue" json:"orderStatue"`
  21. DisposeId int64 `gorm:"column:disposeId" json:"disposeId"`
  22. DealTime time.Time `gorm:"column:dealTime" json:"dealTime"`
  23. DealImg string `gorm:"column:dealImg" json:"dealImg"`
  24. StopTime time.Time `gorm:"column:stopTime" json:"stopTime"`
  25. RepairDept int64 `gorm:"column:repairDept " json:"repairDept"`
  26. CheckResult string `gorm:"column:checkResult" json:"checkResult"`
  27. RepairNote string `gorm:"column:repairNote" json:"repairNote"`
  28. WorkflowId int64 `gorm:"column:workflowId" json:"workflowId"`
  29. FlowCompeleted int64 `gorm:"column:flowCompeleted" json:"flowCompeleted"`
  30. WorkflowNote string `gorm:"column:workflowNote" json:"workflowNote"`
  31. ChargeId int64 `gorm:"column:chargeId" json:"chargeId"`
  32. ChargeDate time.Time `gorm:"column:chargeDate" json:"chargeDate"`
  33. UseChargeId int64 `gorm:"column:useChargeId" json:"useChargeId"`
  34. UseChargeDate time.Time `gorm:"column:useChargeDate" json:"useChargeDate"`
  35. RepairCost float64 `gorm:"column:repairCost" json:"repairCost"`
  36. Scores string `gorm:"column:scores" json:"scores"`
  37. ShutdownDate time.Time `gorm:"column:shutdownDate" json:"shutdownDate"`
  38. ShutdownPerson int64 `gorm:"column:shutdownPerson" json:"shutdownPerson"`
  39. ShutdownReason string `gorm:"column:shutdownReason" json:"shutdownReason"`
  40. CreatDate string `gorm:"column:creatDate" json:"creatDate"`
  41. }