46 lines
1.9 KiB
Go
46 lines
1.9 KiB
Go
// ==========================================================================
|
||
// GFast自动生成model操作代码。
|
||
// 生成日期:2023-10-08 09:38:35
|
||
// 生成路径: internal/app/system/model/master_schedule.go
|
||
// 生成人:gfast
|
||
// desc:总进度计划
|
||
// company:云南奇讯科技有限公司
|
||
// ==========================================================================
|
||
|
||
package model
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
"github.com/gogf/gf/v2/util/gmeta"
|
||
)
|
||
|
||
// MasterScheduleInfoRes is the golang structure for table master_schedule.
|
||
type MasterScheduleInfoRes struct {
|
||
gmeta.Meta `orm:"table:master_schedule"`
|
||
Id int `orm:"id,primary" json:"id"` //
|
||
ProjectId int `orm:"project_id" json:"projectId"` // 项目id
|
||
Name string `orm:"name" json:"name"` // 工作名称
|
||
Start string `orm:"start" json:"start"` // 开始时间
|
||
End string `orm:"end" json:"end"` // 结束时间
|
||
Content string `orm:"content" json:"content"` // 备注
|
||
CreateBy string `orm:"create_by" json:"createBy"` // 创建人
|
||
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新人
|
||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||
Sequence int `orm:"sequence" json:"sequence"` // 顺序编号
|
||
}
|
||
|
||
type MasterScheduleListRes struct {
|
||
Id int `json:"id"`
|
||
ProjectId int `json:"projectId"`
|
||
Name string `json:"name"`
|
||
Start string `json:"start"`
|
||
End string `json:"end"`
|
||
Content string `json:"content"`
|
||
CreateBy string `json:"createBy"`
|
||
UpdateBy string `json:"updateBy"`
|
||
CreatedAt *gtime.Time `json:"createdAt"`
|
||
Sequence int `json:"sequence"`
|
||
}
|