feat: 增加 tag_type 字段

This commit is contained in:
fuzhongyun 2025-11-24 15:33:10 +08:00
parent 3eaba6004a
commit e2b6454d29
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ type AiTask struct {
UpdateAt time.Time `gorm:"column:update_at;default:CURRENT_TIMESTAMP" json:"update_at"`
Status int32 `gorm:"column:status;not null;default:1" json:"status"`
DeleteAt time.Time `gorm:"column:delete_at" json:"delete_at"`
UseCase string `gorm:"column:use_case;not null" json:"use_case"` // 适用场景
UseCase string `gorm:"column:use_case;not null" json:"use_case"` // 适用场景
TagType int32 `gorm:"column:tag_type;not null;default:1" json:"tag_type"` // 标签类型 1.AI日常 2.AI查询 3.AI执行
}
// TableName AiTask's table name