This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

View File

@ -0,0 +1,46 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2024-03-13 17:36:45
// 生成路径: internal/app/system/model/construction_project.go
// 生成人gfast
// desc:施工项目
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// ConstructionProjectInfoRes is the golang structure for table construction_project.
type ConstructionProjectInfoRes struct {
gmeta.Meta `orm:"table:construction_project"`
ConstructionId uint64 `orm:"construction_id,primary" json:"constructionId"` // 主键id
CreatedBy uint64 `orm:"created_by" json:"createdBy"` //
UpdatedBy uint64 `orm:"updated_by" json:"updatedBy"` //
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` //
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
FangzhenId int `orm:"fangzhen_id" json:"fangzhenId"` // 方阵id
ConstructionName string `orm:"construction_name" json:"constructionName"` // 施工名称
Total int `orm:"total" json:"total"` // 总量
Remark string `orm:"remark" json:"remark"` // 备注
IsPercentage int `orm:"isPercentage" json:"isPercentage"` // 数据类型是否为百分比
EndTime *gtime.Time `orm:"end_time" json:"endTime"` // 结束时间
StartTime *gtime.Time `orm:"start_time" json:"startTime"` // 开始时间
}
type ConstructionProjectListRes struct {
ConstructionId uint64 `json:"constructionId"`
CreatedBy uint64 `json:"createdBy"`
CreatedAt *gtime.Time `json:"createdAt"`
FangzhenId int `json:"fangzhenId"`
ConstructionName string `json:"constructionName"`
Total int `json:"total"`
Remark string `json:"remark"`
IsPercentage int `json:"isPercentage"`
EndTime *gtime.Time `json:"endTime"`
StartTime *gtime.Time `json:"startTime"`
}