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

19 lines
709 B

  1. package md
  2. type DeviceListReq struct {
  3. Page int `json:"page" label:"页码"`
  4. Limit int `json:"limit" label:"每页数量"`
  5. EnterpriseName string `json:"enterprise_name" label:"校企名称"`
  6. Name string `json:"name" label:"档口名称"`
  7. StartDate string `json:"start_date" label:"起始时间"`
  8. EndDate string `json:"end_date" label:"截止时间"`
  9. }
  10. type DeviceSaveReq struct {
  11. Name string `json:"name" binding:"required"`
  12. DeviceSn string `json:"device_sn" binding:"required"`
  13. EnterpriseId int `json:"enterprise_id" binding:"required"`
  14. MerchantId int `json:"merchant_id" binding:"required"`
  15. Memo string `json:"memo"`
  16. }