Files
energy-management-system/form/device_point.go
2024-09-03 18:00:02 +08:00

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" `
}