面包店
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_company.go 668 B

8 달 전
1234567891011121314151617
  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" label:"备注"`
  13. LeadName string `json:"lead_name" label:"负责人姓名"`
  14. LeadPhone string `json:"lead_phone" label:"负责人手机号"`
  15. }