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

md_merchant.go 735 B

8 months ago
7 months ago
8 months ago
1234567891011121314151617181920
  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. CreateAt string `json:"create_at" binding:"required" label:"创建时间"`
  11. }
  12. type MerchantListReq struct {
  13. Name string `json:"name" label:"名称"`
  14. EnterpriseId int `json:"enterprise_id" label:"校企id"`
  15. Limit int `json:"limit"`
  16. Page int `json:"page" `
  17. }