feat: add public tenant packages listing and sort order
This commit is contained in:
@@ -6247,6 +6247,12 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasColumnType("boolean")
|
||||
.HasComment("是否仍可售卖。");
|
||||
|
||||
b.Property<int>("SortOrder")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer")
|
||||
.HasDefaultValue(0)
|
||||
.HasComment("展示排序,数值越小越靠前。");
|
||||
|
||||
b.Property<int?>("MaxAccountCount")
|
||||
.HasColumnType("integer")
|
||||
.HasComment("允许创建的最大账号数。");
|
||||
@@ -6295,6 +6301,8 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("IsActive", "SortOrder");
|
||||
|
||||
b.ToTable("tenant_packages", null, t =>
|
||||
{
|
||||
t.HasComment("平台提供的租户套餐定义。");
|
||||
|
||||
Reference in New Issue
Block a user