From c4e525dc24f4fd6fb0349df0f0e5b479906d66b6 Mon Sep 17 00:00:00 2001 From: cjy Date: Mon, 8 Jun 2026 16:23:13 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0cast=5Fwork?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/model/cast.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/model/cast.go b/internal/model/cast.go index 2a68b71..2ca5f7b 100644 --- a/internal/model/cast.go +++ b/internal/model/cast.go @@ -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