6
0

base_equipment_advance_time.go 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package equipment
  5. import (
  6. "lims_adapter/model/equipment/internal"
  7. )
  8. // BaseEquipmentAdvanceTime is the golang structure for table base_equipment_advance_time.
  9. type BaseEquipmentAdvanceTime internal.BaseEquipmentAdvanceTime
  10. // Fill with you ideas below.
  11. // 添加优先预约时间段
  12. type AdvanceTimeReq struct {
  13. EquipmentId int `json:"equipment_id"`
  14. Week string `json:"week"`
  15. StartTime string `json:"startTime"`
  16. EndTime string `json:"endTime"`
  17. }
  18. type TimeForm struct {
  19. Domains []Domain `json:"domains"`
  20. }
  21. type Domain struct {
  22. Week string `json:"week"`
  23. StartTime string `json:"startTime"`
  24. EndTime string `json:"endTime"`
  25. }
  26. // 不能预约时间段信息
  27. type NoReservationInfo struct {
  28. Day int `json:"day"`
  29. Week int `json:"week"`
  30. StartTime string `json:"start_time"`
  31. Status int `json:"status"`
  32. }