// ========================================================================== // GFast自动生成model操作代码。 // 生成日期:2023-07-27 15:20:49 // 生成路径: internal/app/system/model/sys_project.go // 生成人:gfast // desc:项目 // company:云南奇讯科技有限公司 // ========================================================================== package model import ( "github.com/gogf/gf/v2/os/gtime" "github.com/gogf/gf/v2/util/gmeta" ) // SysProjectInfoRes is the golang structure for table sys_project. type SysProjectInfoRes struct { gmeta.Meta `orm:"table:sys_project"` Id int64 `orm:"id,primary" json:"id"` // 序号 ProjectName string `orm:"project_name" json:"projectName"` // 项目名称 ShortName string `orm:"short_name" json:"shortName"` //项目简称 //ProjectId int64 `orm:"project_id" json:"projectId"` // 项目id PId int64 `orm:"p_id" json:"pId"` // 父id Status string `orm:"status" json:"status"` // 状态(0正常 1停用) PicUrl string `orm:"pic_url" json:"picUrl"` // 项目图片 CreateBy string `orm:"create_by" json:"createBy"` // 创建者 CreateTime *gtime.Time `orm:"create_time" json:"createTime"` // 创建时间 UpdateBy string `orm:"update_by" json:"updateBy"` // 更新者 UpdateTime *gtime.Time `orm:"update_time" json:"updateTime"` // 更新时间 Lng string `orm:"lng" json:"lng"` // 经度 Lat string `orm:"lat" json:"lat"` // 纬度 Remark string `orm:"remark" json:"remark"` // 备注 Type string `orm:"type" json:"type"` // 项目类型 ColourRgb string `orm:"colour_rgb" json:"colourRgb"` // 展示颜色 DeletedAt string `orm:"deleted_at" json:"deletedAt"` // 删除时间 ProjectSite string `orm:"project_site" json:"projectSite"` // 项目地址 PrincipalXz string `orm:"principal_xz" json:"principalXz"` // 小程序薪资负责人 Principal string `orm:"principal" json:"principal"` // 项目负责人 PrincipalPhone string `orm:"principal_phone" json:"principalPhone"` // 负责人电话 BzzName string `orm:"bzzName" json:"bzzName"` // 小程序薪资负责人 PunchRange string `orm:"punch_range" json:"punchRange"` // 打卡范围 SecurityAgreement string `orm:"security_agreement" json:"securityAgreement"` //安全协议书 IsType string `orm:"is_type" json:"isType"` //项目类型(1光伏 2风电) Sort int64 `orm:"sort" json:"sort"` //排序字段 ShowHidden string `orm:"show_hidden" json:"showHidden"` //排序字段 //Phone string `orm:"phone" json:"phone"` // 负责人电话 电话 //SfzSite string `orm:"sfz_site" json:"sfzSite"` // 负责人电话 身份证地址 Actual string `orm:"actual" json:"actual"` Plan string `orm:"plan" json:"plan"` OnStreamTime string `orm:"on_stream_time" json:"onStreamTime"` RichText string `orm:"rich_text" json:"richText"` DesignTotal int64 `orm:"design_total" json:"designTotal"` //设计总量 } type SysProjectListRes struct { Id int64 `json:"id"` ProjectName string `json:"projectName"` ShortName string `json:"shortName"` ProjectId int64 `json:"projectId"` PId int64 `json:"pId"` Status string `json:"status"` PicUrl string `json:"picUrl"` CreateBy string `json:"createBy"` CreateTime *gtime.Time `json:"createTime"` UpdateBy string `json:"updateBy"` UpdateTime *gtime.Time `json:"updateTime"` Lng string `json:"lng"` Lat string `json:"lat"` Remark string `json:"remark"` Type string `json:"type"` ColourRgb string `json:"colourRgb"` DeletedAt string `json:"deletedAt"` ProjectSite string `json:"projectSite"` // 项目地址 PrincipalXz string `json:"principalXz"` // 小程序薪资负责人OPENID Principal string `json:"principal"` // 项目负责人 PrincipalPhone string `json:"principalPhone"` // 负责人电话 PrincipalXzName string `json:"principalXzName"` // 小程序薪资负责人名称 Actual string `json:"actual"` Plan string `json:"plan"` OnStreamTime string `json:"onStreamTime"` PunchRange string `json:"punchRange"` RichText string `json:"richText"` DesignTotal int64 `json:"designTotal"` SecurityAgreement string `json:"securityAgreement"` IsType string `json:"isType"` Sort int64 `json:"sort"` ShowHidden string `json:"showHidden"` }