package request // BoothCreate 岗亭创建请求 type BoothCreate struct { BoothCode string `json:"booth_code"` // 岗亭编码 BoothName string `json:"booth_name"` // 岗亭名称 IPAddress string `json:"ip_address"` // IP地址 Description string `json:"description"` // 备注 ParkingLotID uint `json:"parking_lot_id"` // 所属区域ID } // BoothUpdate 岗亭更新请求 type BoothUpdate struct { ID uint `json:"id"` // 岗亭ID BoothCode string `json:"booth_code"` // 岗亭编码 BoothName string `json:"booth_name"` // 岗亭名称 IPAddress string `json:"ip_address"` // IP地址 Description string `json:"description"` // 备注 ParkingLotID uint `json:"parking_lot_id"` // 所属区域ID } // BoothQuery 岗亭查询请求 type BoothQuery struct { BoothCode string `form:"booth_code"` // 岗亭编码 BoothName string `form:"booth_name"` // 岗亭名称 ParkingLotID uint `form:"parking_lot_id"` // 所属区域ID Page int `form:"page,default=1"` // 页码 PageSize int `form:"page_size,default=10"` // 每页数量 }