123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package model
- import (
- "iot_manager_service/app/device/dao"
- "time"
- )
- type LightControlDetail struct {
- dao.LightControl
- EndLineTime time.Time `json:"endLineTime"`
- NetworkState string `json:"networkState"`
- RunState string `json:"runState"`
- }
- type RspLightControlList struct {
- Records []LightControlDetail `json:"records"`
- Current int `json:"current"`
- Size int `json:"size"`
- Total int `json:"total"`
- Pages int `json:"pages"`
- }
- type ReqLightControlRemove struct {
- IDs int `json:"ids"`
- Name string `json:"name"`
- }
- type ReqLightControlEnable struct {
- ID int `json:"id"`
- Status int `json:"status"`
- Name int `json:"name"`
- SN int `json:"sn"`
- }
- type ReqLightControlSwitch struct {
- HandSwitch int `json:"handSwitch"`
- HandTime int `json:"handTime"`
- Luminance int `json:"luminance"`
- Explain string `json:"explain"`
- Name string `json:"name"`
- SN string `json:"sn"`
- }
|