初始
This commit is contained in:
37
internal/app/system/model/project_schedule.go
Normal file
37
internal/app/system/model/project_schedule.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model操作代码。
|
||||
// 生成日期:2024-03-13 18:17:32
|
||||
// 生成路径: internal/app/system/model/project_schedule.go
|
||||
// 生成人:gfast
|
||||
// desc:项目排期
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ProjectScheduleInfoRes is the golang structure for table project_schedule.
|
||||
type ProjectScheduleInfoRes struct {
|
||||
gmeta.Meta `orm:"table:project_schedule"`
|
||||
Id uint `orm:"id,primary" json:"id"` //
|
||||
ParentId int `orm:"parent_id" json:"parentId"` // 设施ID
|
||||
StartDate string `orm:"start_date" json:"startDate"` // 开始时间
|
||||
EndDate string `orm:"end_date" json:"endDate"` // 结束时间
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
|
||||
Name string `orm:"name" json:"name"` // 项目名
|
||||
PlaneNum string `orm:"plane_num" json:"planeNum"` // 计划持有量
|
||||
}
|
||||
|
||||
type ProjectScheduleListRes struct {
|
||||
Id uint `json:"id"`
|
||||
ParentId int `json:"parentId"`
|
||||
StartDate string `json:"startDate"`
|
||||
EndDate string `json:"endDate"`
|
||||
CreatedAt *gtime.Time `json:"createdAt"`
|
||||
Name string `json:"name"`
|
||||
PlaneNum string `json:"planeNum"`
|
||||
}
|
Reference in New Issue
Block a user