update: 更新cast_work表

This commit is contained in:
cjy 2026-06-08 16:23:13 +08:00
parent 36a6e82fae
commit c4e525dc24

View File

@ -74,16 +74,18 @@ type CastWork struct {
ArtistPhoneAreaCode string `gorm:"column:artist_phone_area_code;type:varchar(50);NOT NULL;default:'';comment:'艺人手机号区号'" json:"artistPhoneAreaCode"`
WorkCategory int8 `gorm:"column:work_category;type:tinyint(1);NOT NULL;default:1;comment: 1 图文 2 视频" json:"workCategory"`
SubmitTime string `gorm:"column:submit_time;type:varchar(50);NOT NULL;default:'';comment:提交时间" json:"submitTime"`
ArtistSubNum string `gorm:"column:artist_sub_num;type:varchar(50);NOT NULL;default:'';comment:艺人订阅号" json:"artistSubNum"`
StatusUpdateTime string `gorm:"column:status_update_time;type:varchar(50);NOT NULL;default:'';comment:状态更新时间" json:"statusUpdateTime"`
PlatformIDs string `gorm:"column:platform_ids;type:json;NOT NULL;comment:发布平台ID集合 TIKTOK= 1, YOUTUBE = 2, INS = 3;" json:"platformIDs"`
Status int8 `gorm:"column:status;type:tinyint(1);NOT NULL;default:1;comment: 1 待提交 2 审核中 3 审核失败 4 待艺人确认 5 艺人驳回 6 发布成功 7 发布失败 8 待发布" json:"status"`
Title string `gorm:"column:title;type:varchar(50);NOT NULL;" json:"title"`
Title string `gorm:"column:title;type:varchar(300);NOT NULL;" json:"title"`
Content string `gorm:"column:content;type:varchar(2000);NOT NULL;" json:"content"`
Cost int8 `gorm:"column:cost;type:tinyint(1);NOT NULL;default:0;comment: 1 消耗 2 未消耗" json:"cost"`
ConfirmRemark string `gorm:"column:confirm_remark;type:varchar(300);NOT NULL;default:'';comment:艺人确认备注" json:"confirmRemark"`
PublishConfig string `gorm:"column:publish_config;type:varchar(600);NOT NULL;comment:发布配置" json:"publishConfig"`
ApprovalID string `gorm:"column:approval_id;type:varchar(50);NOT NULL;default:'';comment:审批ID" json:"approvalID"`
Source int8 `gorm:"column:source;type:tinyint(1);NOT NULL;default:1;comment: 1 系统 2 导入" json:"source"`
OriginUuid string `gorm:"column:origin_uuid;type:varchar(50);NOT NULL;default:'';comment:来源uuid;index:idx_origin_uuid" json:"originUuid"`
CreatedAt int `gorm:"column:created_at;type:int(11);autoCreateTime" json:"createdAt"`
UpdatedAt int `gorm:"column:updated_at;type:int(11);autoCreateTime" json:"updatedAt"`
DeletedAt soft_delete.DeletedAt