29 lines
696 B
Go
29 lines
696 B
Go
package form
|
|
|
|
type PointNameSelectReq struct {
|
|
Keyword string `form:"keyword" json:"keyword"`
|
|
}
|
|
|
|
type DevicePointListReq struct {
|
|
Page `form:"page" json:"page"`
|
|
DriverId int `form:"driver_id" json:"driver_id"`
|
|
}
|
|
|
|
type DevicePointEditDetailReq struct {
|
|
Id int `form:"id" json:"id"`
|
|
}
|
|
type CreateDevicePointReq struct {
|
|
DriverId int `json:"driver_id"`
|
|
PointId int `json:"point_id"`
|
|
EnergyType int `json:"energy_type"`
|
|
PointNameId int `json:"point_name_id" `
|
|
}
|
|
|
|
type UpdateDevicePointReq struct {
|
|
Id int `json:"id"`
|
|
DriverId int `json:"driver_id"`
|
|
PointId int `json:"point_id"`
|
|
EnergyType int `json:"energy_type"`
|
|
PointNameId int `json:"point_name_id" `
|
|
}
|