// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( internal2 "lims_adapter/model/internal" ) // BaseEquipmentAdvanceTime is the golang structure for table base_equipment_advance_time. type BaseEquipmentAdvanceTime internal2.BaseEquipmentAdvanceTime // Fill with you ideas below. // 添加优先预约时间段 type AdvanceTimeReq struct { EquipmentId int `json:"equipment_id"` Week string `json:"week"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` } type TimeForm struct { Domains []Domain `json:"domains"` } type Domain struct { Week string `json:"week"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` } // 不能预约时间段信息 type NoReservationInfo struct { Day int `json:"day"` Week int `json:"week"` StartTime string `json:"start_time"` Status int `json:"status"` }