feat: 套餐增加推荐标识与标签
This commit is contained in:
@@ -6261,6 +6261,12 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasDefaultValue(true)
|
||||
.HasComment("是否对外可见(展示页/套餐列表可见性)。");
|
||||
|
||||
b.Property<bool>("IsRecommended")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false)
|
||||
.HasComment("是否推荐展示(运营推荐标识)。");
|
||||
|
||||
b.Property<int?>("MaxAccountCount")
|
||||
.HasColumnType("integer")
|
||||
.HasComment("允许创建的最大账号数。");
|
||||
@@ -6307,6 +6313,11 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasDefaultValue(0)
|
||||
.HasComment("展示排序,数值越小越靠前。");
|
||||
|
||||
b.PrimitiveCollection<string[]>("Tags")
|
||||
.IsRequired()
|
||||
.HasColumnType("text[]")
|
||||
.HasComment("套餐标签(用于展示与对比页)。");
|
||||
|
||||
b.Property<DateTime?>("UpdatedAt")
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasComment("最近一次更新时间(UTC),从未更新时为 null。");
|
||||
|
||||
Reference in New Issue
Block a user