feat: 新增加料管理接口与模板能力
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
This commit is contained in:
@@ -4689,6 +4689,12 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasColumnType("bigint")
|
||||
.HasComment("删除人用户标识(软删除),未删除时为 null。");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("character varying(256)")
|
||||
.HasComment("模板描述。");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("boolean")
|
||||
.HasComment("是否启用。");
|
||||
@@ -4697,12 +4703,20 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasColumnType("boolean")
|
||||
.HasComment("是否必选。");
|
||||
|
||||
b.Property<int>("MaxSelect")
|
||||
.HasColumnType("integer")
|
||||
.HasComment("最大可选数。");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("character varying(64)")
|
||||
.HasComment("模板名称。");
|
||||
|
||||
b.Property<int>("MinSelect")
|
||||
.HasColumnType("integer")
|
||||
.HasComment("最小可选数。");
|
||||
|
||||
b.Property<int>("SelectionType")
|
||||
.HasColumnType("integer")
|
||||
.HasComment("选择方式。");
|
||||
@@ -4733,7 +4747,7 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("TenantId", "StoreId", "Name")
|
||||
b.HasIndex("TenantId", "StoreId", "TemplateType", "Name")
|
||||
.IsUnique();
|
||||
|
||||
b.HasIndex("TenantId", "StoreId", "TemplateType", "IsEnabled");
|
||||
@@ -4774,6 +4788,10 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasColumnType("numeric(18,2)")
|
||||
.HasComment("附加价格。");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("boolean")
|
||||
.HasComment("是否启用。");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(64)
|
||||
@@ -4784,6 +4802,10 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasColumnType("integer")
|
||||
.HasComment("排序值。");
|
||||
|
||||
b.Property<int>("Stock")
|
||||
.HasColumnType("integer")
|
||||
.HasComment("库存数量。");
|
||||
|
||||
b.Property<long>("TemplateId")
|
||||
.HasColumnType("bigint")
|
||||
.HasComment("模板 ID。");
|
||||
|
||||
Reference in New Issue
Block a user