equipment.go 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package model
  2. import "time"
  3. type Equipment struct {
  4. PastureId int `gorm:"column:pastureId"`
  5. PastureName string `gorm:"column:pastureName"`
  6. EqName string `gorm:"column:eqName"`
  7. AssetCode string `gorm:"column:assetCode"`
  8. EqClassName string `gorm:"column:eqClassName"`
  9. Specification string `gorm:"column:specification"`
  10. DepartmentId string `gorm:"column:departmentId"`
  11. DepartmentName string `gorm:"column:departmentName"`
  12. EntranceDate string `gorm:"column:entranceDate"`
  13. Purpose string `gorm:"column:purpose"`
  14. Yuanzhi string `gorm:"column:yuanzhi"`
  15. Id int `gorm:"column:id"`
  16. EqCode string `gorm:"column:eqCode"`
  17. EqClassId int `gorm:"column:eqClassId"`
  18. FinanceCode string `gorm:"column:financeCode"`
  19. ProName string `gorm:"column:proName"`
  20. ProId int `gorm:"column:proId"`
  21. BrandId string `gorm:"column:brandId"`
  22. Brand string `gorm:"column:brand"`
  23. PurchaseDate string `gorm:"column:purchaseDate"`
  24. Subtractvalue string `gorm:"column:subtractvalue"`
  25. Salvage string `gorm:"column:salvage"`
  26. Upkeepgrade string `gorm:"column:upkeepgrade"`
  27. YearMaintainCost string `gorm:"column:yearMaintainCost"`
  28. YearUpkeepCost string `gorm:"column:yearUpkeepCost"`
  29. Status int `gorm:"column:status"`
  30. EmployeName string `gorm:"column:employeName"`
  31. EmployeeId string `gorm:"column:employeeId"`
  32. InputDatetime string `gorm:"column:inputDatetime"`
  33. LeaveDate time.Time `gorm:"column:leaveDate"`
  34. InputUser string `gorm:"column:inputUser"`
  35. EnabledTime time.Time `gorm:"column:enabledTime"`
  36. BlockTime time.Time `gorm:"column:blockTime"`
  37. ChangeStatue string `gorm:"column:changeStatue"`
  38. EnabledPerson int `gorm:"column:enabledPerson"`
  39. BlockPerson int `gorm:"column:blockPerson"`
  40. SttId int `gorm:"column:sttId"`
  41. BaseHours string `gorm:"column:baseHours"`
  42. ApplicatId int `gorm:"column:applicatId"`
  43. ApplicatDate time.Time `gorm:"column:applicatDate"`
  44. WorkflowId int `gorm:"column:workflowId"`
  45. FlowCompeleted int `gorm:"column:flowCompeleted"`
  46. Enable int `gorm:"column:enable"`
  47. ChangeTime time.Time `gorm:"column:changeTime"`
  48. SSTstatue string `gorm:"column:SSTstatue"`
  49. SHStatus int `gorm:"column:SHStatus"`
  50. ChargeId int `gorm:"column:chargeId"`
  51. ChargeDate time.Time `gorm:"column:chargeDate"`
  52. WorkflowNote string `gorm:"column:workflowNote"`
  53. Picpath string `gorm:"column:picpath"`
  54. Depreciation string `gorm:"column:depreciation"`
  55. Statue int `gorm:"column:statue"`
  56. ModifyTime time.Time `gorm:"column:modifyTime"`
  57. CreatedAt time.Time `gorm:"column:created_at"`
  58. UpdatedAt time.Time `gorm:"column:updated_at"`
  59. CompanyCode string `gorm:"column:companyCode"`
  60. Quantity string `gorm:"column:quantity"`
  61. CostCenter string `gorm:"column:costCenter"`
  62. Unit string `gorm:"column:unit"`
  63. ProfitCenter string `gorm:"column:profitCenter"`
  64. SonCode string `gorm:"column:sonCode"`
  65. }