初始
This commit is contained in:
37
internal/app/system/model/entity/equipment.go
Normal file
37
internal/app/system/model/entity/equipment.go
Normal file
@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Equipment is the golang structure for table equipment.
|
||||
type Equipment struct {
|
||||
PlantId string `json:"plant_id" description:"所属电站ID"`
|
||||
DivertorId string `json:"divertor_id" description:"分流器ID"`
|
||||
DivertorName string `json:"divertor_name" description:"分流器名称"`
|
||||
EquipmentName string `json:"equipment_name" description:"设备名称"`
|
||||
EquipmentPn string `json:"equipment_pn" description:"设备型号"`
|
||||
EquipmentSn string `json:"equipment_sn" description:"设备序列号"`
|
||||
Id string `json:"id" description:"设备ID"`
|
||||
Kwp int `json:"kwp" description:"总容量kwp"`
|
||||
MonKwh int `json:"mon_kwh" description:"当月发电量"`
|
||||
NowKw int `json:"now_kw" description:"实时功率"`
|
||||
ParamDcacCode string `json:"param_dcac_code" description:"DC/AC参数代码"`
|
||||
ParamDcdcCode string `json:"param_dcdc_code" description:"DC/DC参数代码"`
|
||||
PowerPlantId string `json:"power_plant_id" description:"电站ID"`
|
||||
PowerPlantName string `json:"power_plant_name" description:"电站名称"`
|
||||
RatedPower int `json:"rated_power" description:"额定功率"`
|
||||
SoftDcacCode string `json:"soft_dcac_code" description:"软件DC/AC代码"`
|
||||
SoftDcdcCode string `json:"soft_dcdc_code" description:"软件DC/DC代码"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
SumKwh int `json:"sum_kwh" description:"总发电量"`
|
||||
TodayKwh int `json:"today_kwh" description:"当日发电量"`
|
||||
UpdateTime *gtime.Time `json:"update_time" description:"更新时间"`
|
||||
UserId string `json:"user_id" description:"用户ID"`
|
||||
UserName string `json:"user_name" description:"用户名"`
|
||||
YearKwh int `json:"year_kwh" description:"年发电量"`
|
||||
}
|
Reference in New Issue
Block a user