Files
zmkgC/internal/app/system/model/pv_ module.go
2025-07-07 20:11:59 +08:00

45 lines
1.9 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2024-03-23 10:25:39
// 生成路径: internal/app/system/model/pv_ module.go
// 生成人gfast
// desc:光伏组件
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// PvModuleInfoRes is the golang structure for table pv_ module.
type PvModuleInfoRes struct {
gmeta.Meta `orm:"table:pv_module"`
Id uint `orm:"id,primary" json:"id"` //
FangzhenId string `orm:"fangzhen_id" json:"fangzhenId"` // 方阵ID
SubProjectid string `orm:"sub_projectid" json:"subProjectid"` // 子项目ID
WorkId string `orm:"work_id" json:"workId"` // 工作ID
Name string `orm:"name" json:"name"` // 名字
Status string `orm:"status" json:"status"` // 状态 0未开始 1 进行中 2 已完成
DoneTime *gtime.Time `orm:"done_time" json:"doneTime"` // 完成时间
Detail string `orm:"detail" json:"detail"` // 坐标详细信息
DeviceID string `orm:"device_id" json:"deviceID"` // 设备ID
DivertorName string `json:"divertorName" orm:"equipmentName"`
}
type PvModuleListRes struct {
gmeta.Meta `orm:"table:pv_module"`
Id uint `json:"id"`
FangzhenId string `json:"fangzhenId"`
SubProjectid string `json:"subProjectid"`
WorkId string `json:"workId"`
Name string `json:"name"`
Status string `json:"status"`
DoneTime *gtime.Time `json:"doneTime"`
Detail string `json:"detail"`
DeviceID string `json:"deviceID" orm:"device_id"`
DivertorName string `json:"divertorName" orm:"equipmentName"`
}