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

38 lines
1.4 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-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"`
}