// 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 TableNameAiTask = "ai_task" // AiTask mapped from table type AiTask struct { TaskID int32 `gorm:"column:task_id;primaryKey" json:"task_id"` SysID int32 `gorm:"column:sys_id;not null" json:"sys_id"` Name string `gorm:"column:name;not null" json:"name"` Index string `gorm:"column:index;not null" json:"index"` Desc string `gorm:"column:desc;not null" json:"desc"` CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_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"` DeleteAt time.Time `gorm:"column:delete_at" json:"delete_at"` } // TableName AiTask's table name func (*AiTask) TableName() string { return TableNameAiTask }