part_purchase.go 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. package model
  2. type Bigpartpurchase struct {
  3. // 申购单
  4. ID int `gorm:"column:id"`
  5. CGChargeID int `gorm:"column:CGChargeId"`
  6. CGChargedate string `gorm:"column:CGChargedate"`
  7. KGChargeID int `gorm:"column:KGChargeId"`
  8. KGChargedate string `gorm:"column:KGChargedate"`
  9. BuyStatu int `gorm:"column:buyStatu"`
  10. ChargeDate string `gorm:"column:chargeDate"`
  11. ChargeID int `gorm:"column:chargeId"`
  12. CreateTime string `gorm:"column:createTime"`
  13. DepartmentID int `gorm:"column:departmentId"`
  14. EmployeID int `gorm:"column:employeId"`
  15. FlowCompeleted int `gorm:"column:flowCompeleted"`
  16. FlowworkNote string `gorm:"column:flowworkNote"`
  17. IsUrgent int `gorm:"column:isUrgent"`
  18. MatchCode string `gorm:"column:matchCode"`
  19. OrderNumber string `gorm:"column:orderNumber"`
  20. PastureID int `gorm:"column:pastureId"`
  21. ProviderID int `gorm:"column:providerId"`
  22. Statue int `gorm:"column:statue"`
  23. WorkflowID int `gorm:"column:workflowId"`
  24. WorkflowNote string `gorm:"column:workflowNote"`
  25. }
  26. // func (b *Bigpartpurchase) QueryByID(id int) {
  27. // m := util.NewMap("id", "1")
  28. // Fisrt("Bigpartpurchase", m, b)
  29. // }