智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 regels
687 B

  1. package md
  2. type CompanyAddReq struct {
  3. Name string `json:"name" binding:"required" label:"名称"`
  4. Memo string `json:"memo" label:"备注"`
  5. LeadName string `json:"lead_name" label:"负责人姓名"`
  6. LeadPhone string `json:"lead_phone" label:"负责人手机号"`
  7. }
  8. type CompanyUpdateReq struct {
  9. Id int `json:"id" binding:"required" label:"公司id"`
  10. State int32 `json:"state" label:"状态"`
  11. Name string `json:"name" binding:"required" label:"名称"`
  12. Memo string `json:"memo" binding:"required" label:"备注"`
  13. LeadName string `json:"lead_name" label:"负责人姓名"`
  14. LeadPhone string `json:"lead_phone" label:"负责人手机号"`
  15. }