6b5e4c7cc3
【半实物信息解析BUG】
25 lines
790 B
Go
25 lines
790 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 TableNameTrainModel = "train_model"
|
|
|
|
// TrainModel mapped from table <train_model>
|
|
type TrainModel struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
Name string `gorm:"column:name;comment:组次名称" json:"name"` // 组次名称
|
|
CreatedAt time.Time `gorm:"column:created_at;comment:创建时间" json:"created_at"` // 创建时间
|
|
UpdateAt time.Time `gorm:"column:update_at;comment:更新时间" json:"update_at"` // 更新时间
|
|
}
|
|
|
|
// TableName TrainModel's table name
|
|
func (*TrainModel) TableName() string {
|
|
return TableNameTrainModel
|
|
}
|