智慧食堂
25개 이상의 토픽을 선택하실 수 없습니다. 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 달 전
8 달 전
8 달 전
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. }