contract.go 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package model
  2. import "time"
  3. type BigContract struct {
  4. ID int `gorm:"column:id"`
  5. CGChargeID int `gorm:"column:CGChargeId"`
  6. CGChargedate time.Time `gorm:"column:CGChargedate"`
  7. KGChargeID int `gorm:"column:KGChargeId"`
  8. KGChargedate time.Time `gorm:"column:KGChargedate"`
  9. SHStatus int `gorm:"column:SHStatus"`
  10. SHdateTime time.Time `gorm:"column:SHdateTime"`
  11. SHtype int `gorm:"column:SHtype"`
  12. ChargeDate time.Time `gorm:"column:chargeDate"`
  13. ChargeID int `gorm:"column:chargeId"`
  14. ContractCode string `gorm:"column:contractCode"`
  15. CreatorID int `gorm:"column:creatorId"`
  16. ProviderID int `gorm:"column:providerId"`
  17. CreatorMan string `gorm:"column:creatorMan"`
  18. CreatorTime string `gorm:"column:creatorTime"`
  19. Enable int `gorm:"column:enable"`
  20. Flag int `gorm:"column:flag"`
  21. FlowCompeleted int `gorm:"column:flowCompeleted"`
  22. IsZeroStock int `gorm:"column:isZeroStock"`
  23. PastureID int `gorm:"column:pastureId"`
  24. PastureNamesNow string `gorm:"column:pastureNamesNow"`
  25. PastureNamesOld string `gorm:"column:pastureNamesOld"`
  26. PrecontractCode string `gorm:"column:precontractCode"`
  27. ProviderName string `gorm:"column:providerName"`
  28. Remark string `gorm:"column:remark"`
  29. StartTime string `gorm:"column:startTime"`
  30. Statue int `gorm:"column:statue"`
  31. StopTime string `gorm:"column:stopTime"`
  32. StopTimeHis time.Time `gorm:"column:stopTimeHis"`
  33. StopTimeTem time.Time `gorm:"column:stopTimeTem"`
  34. WorkflowID int `gorm:"column:workflowId"`
  35. WorkflowNote string `gorm:"column:workflowNote"`
  36. }
  37. type Contract struct {
  38. ID int `gorm:"column:id"`
  39. BigID int `gorm:"column:bigId"`
  40. Brand string `gorm:"column:brand"`
  41. BrandID int `gorm:"column:brandId"`
  42. ChangeID int `gorm:"column:changeId"`
  43. Enable int `gorm:"column:enable"`
  44. InventoryType int `gorm:"column:inventoryType"`
  45. IsZeroStock int `gorm:"column:isZeroStock"`
  46. PartCode string `gorm:"column:partCode"`
  47. PartID int `gorm:"column:partId"`
  48. PartName string `gorm:"column:partName"`
  49. PastureID int `gorm:"column:pastureId"`
  50. PastureName string `gorm:"column:pastureName"`
  51. PlanAmount string `gorm:"column:planAmount"`
  52. Price string `gorm:"column:price"`
  53. Remark string `gorm:"column:remark"`
  54. Specification string `gorm:"column:specification"`
  55. Unit string `gorm:"column:unit"`
  56. }