智慧食堂
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.

20 rivejä
655 B

  1. package md
  2. type MerchantAddReq struct {
  3. Name string `json:"name" binding:"required" label:"名称"`
  4. EnterpriseId int `json:"enterprise_id" binding:"required" label:"校企id"`
  5. }
  6. type MerchantUpdateReq struct {
  7. Id int `json:"id" binding:"required" label:"id"`
  8. Name string `json:"name" binding:"required" label:"名称"`
  9. EnterpriseId int `json:"enterprise_id" binding:"required" label:"校企id"`
  10. }
  11. type MerchantListReq struct {
  12. Name string `json:"name" label:"名称"`
  13. EnterpriseId int `json:"enterprise_id" label:"校企id"`
  14. Limit int `json:"limit"`
  15. Page int `json:"page" `
  16. }