6b5e4c7cc3
【半实物信息解析BUG】
26 lines
930 B
Go
26 lines
930 B
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNameProject = "project"
|
|
|
|
// Project mapped from table <project>
|
|
type Project struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
|
|
Name string `gorm:"column:name;comment:名称" json:"name"` // 名称
|
|
Code string `gorm:"column:code;comment:项目编码" json:"code"` // 项目编码
|
|
CreatedAt time.Time `gorm:"column:created_at;comment:创建时间" json:"created_at"` // 创建时间
|
|
UpdateAt time.Time `gorm:"column:update_at;comment:更新时间" json:"update_at"` // 更新时间
|
|
}
|
|
|
|
// TableName Project's table name
|
|
func (*Project) TableName() string {
|
|
return TableNameProject
|
|
}
|