Merge branch 'v3' into test
This commit is contained in:
commit
9f132dc99c
|
|
@ -23,6 +23,7 @@ type AiTask struct {
|
||||||
UpdateAt time.Time `gorm:"column:update_at;default:CURRENT_TIMESTAMP" json:"update_at"`
|
UpdateAt time.Time `gorm:"column:update_at;default:CURRENT_TIMESTAMP" json:"update_at"`
|
||||||
Status int32 `gorm:"column:status;not null;default:1" json:"status"`
|
Status int32 `gorm:"column:status;not null;default:1" json:"status"`
|
||||||
DeleteAt time.Time `gorm:"column:delete_at" json:"delete_at"`
|
DeleteAt time.Time `gorm:"column:delete_at" json:"delete_at"`
|
||||||
|
UseCase string `gorm:"column:use_case;not null" json:"use_case"` // 适用场景
|
||||||
}
|
}
|
||||||
|
|
||||||
// TableName AiTask's table name
|
// TableName AiTask's table name
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue