25 lines
948 B
Go
25 lines
948 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 TableNameAiAdviceProject = "ai_advice_project"
|
||
|
||
// AiAdviceProject mapped from table <ai_advice_project>
|
||
type AiAdviceProject struct {
|
||
ProjectID int32 `gorm:"column:project_id;primaryKey;autoIncrement:true" json:"project_id"`
|
||
Name string `gorm:"column:name;not null;comment:姓名" json:"name"` // 姓名
|
||
ModelSupID int32 `gorm:"column:model_sup_id;not null;comment:模型提供方配置,关联advicer_model_sup" json:"model_sup_id"` // 模型提供方配置,关联advicer_model_sup
|
||
CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
|
||
}
|
||
|
||
// TableName AiAdviceProject's table name
|
||
func (*AiAdviceProject) TableName() string {
|
||
return TableNameAiAdviceProject
|
||
}
|