From e945a672edf4559a644ff8859a77b8282e7ccdce Mon Sep 17 00:00:00 2001 From: huang Date: Sat, 11 Apr 2026 12:00:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E5=A5=97=E9=A4=90?= =?UTF-8?q?=E7=B3=BB=E5=88=97=E7=8A=B6=E6=80=81=E6=B3=A8=E9=87=8A=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sisyphus --- internal/model/package.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/package.go b/internal/model/package.go index 457a18b..9079230 100644 --- a/internal/model/package.go +++ b/internal/model/package.go @@ -15,7 +15,7 @@ type PackageSeries struct { SeriesCode string `gorm:"column:series_code;type:varchar(100);uniqueIndex:idx_package_series_code,where:deleted_at IS NULL;not null;comment:系列编码" json:"series_code"` SeriesName string `gorm:"column:series_name;type:varchar(255);not null;comment:系列名称" json:"series_name"` Description string `gorm:"column:description;type:text;comment:描述" json:"description"` - Status int `gorm:"column:status;type:int;default:1;not null;comment:状态 1-启用 2-禁用" json:"status"` + Status int `gorm:"column:status;type:int;default:1;not null;comment:状态 0=禁用 1=启用" json:"status"` OneTimeCommissionConfigJSON string `gorm:"column:one_time_commission_config;type:jsonb;default:'{}';comment:一次性佣金规则配置" json:"-"` EnableOneTimeCommission bool `gorm:"column:enable_one_time_commission;default:false;comment:是否启用一次性佣金(顶层字段,支持SQL索引)" json:"enable_one_time_commission"` }