智慧食堂
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_device.go 648 B

1 year ago
1234567891011121314151617
  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. Memo string `json:"memo"`
  15. }