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

32 lines
1.1 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-21 18:53:15
// 生成路径: internal/app/system/model/sub_project.go
// 生成人gfast
// desc:子项目
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SubProjectInfoRes is the golang structure for table sub_project.
type SubProjectInfoRes struct {
gmeta.Meta `orm:"table:sub_project"`
Id uint `orm:"id,primary" json:"id"` // 主键ID
ProjectId int `orm:"project_id" json:"projectId"` // 项目ID
ProjectName string `orm:"project_name" json:"projectName"` // 子项目名
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
}
type SubProjectListRes struct {
Id uint `json:"id"`
ProjectId int `json:"projectId"`
ProjectName string `json:"projectName"`
CreatedAt *gtime.Time `json:"createdAt"`
}