feat: Add Free Issue Lines to ShopPOItems and InvoiceItems
This commit is contained in:
@@ -932,18 +932,27 @@ namespace Distribution.Migrations
|
||||
b.Property<Guid>("FK_ItemId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("FK_SchemeId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("FK_ShopPOItemId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("IsFree")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("IsRemoved")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<int>("Quantity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("SchemeName")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<decimal>("UnitPrice")
|
||||
.HasColumnType("decimal(65,30)");
|
||||
|
||||
@@ -3717,18 +3726,27 @@ namespace Distribution.Migrations
|
||||
b.Property<Guid>("FK_ItemId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid?>("FK_SchemeId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<Guid>("FK_ShopPOId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("IsFree")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<int>("Quantity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("QuantityFulfilled")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("SchemeName")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<decimal>("UnitPrice")
|
||||
.HasColumnType("decimal(65,30)");
|
||||
|
||||
@@ -3748,6 +3766,7 @@ namespace Distribution.Migrations
|
||||
FK_ItemId = new Guid("23000000-0000-0000-0000-000000000001"),
|
||||
FK_ShopPOId = new Guid("33000000-0000-0000-0000-000000000001"),
|
||||
IsActive = true,
|
||||
IsFree = false,
|
||||
Quantity = 30,
|
||||
QuantityFulfilled = 30,
|
||||
UnitPrice = 60m
|
||||
@@ -3759,6 +3778,7 @@ namespace Distribution.Migrations
|
||||
FK_ItemId = new Guid("23000000-0000-0000-0000-000000000003"),
|
||||
FK_ShopPOId = new Guid("33000000-0000-0000-0000-000000000001"),
|
||||
IsActive = true,
|
||||
IsFree = false,
|
||||
Quantity = 24,
|
||||
QuantityFulfilled = 24,
|
||||
UnitPrice = 50m
|
||||
@@ -3770,6 +3790,7 @@ namespace Distribution.Migrations
|
||||
FK_ItemId = new Guid("23000000-0000-0000-0000-000000000002"),
|
||||
FK_ShopPOId = new Guid("33000000-0000-0000-0000-000000000002"),
|
||||
IsActive = true,
|
||||
IsFree = false,
|
||||
Quantity = 10,
|
||||
QuantityFulfilled = 0,
|
||||
UnitPrice = 120m
|
||||
@@ -3781,6 +3802,7 @@ namespace Distribution.Migrations
|
||||
FK_ItemId = new Guid("23000000-0000-0000-0000-000000000002"),
|
||||
FK_ShopPOId = new Guid("33000000-0000-0000-0000-000000000003"),
|
||||
IsActive = true,
|
||||
IsFree = false,
|
||||
Quantity = 20,
|
||||
QuantityFulfilled = 20,
|
||||
UnitPrice = 120m
|
||||
|
||||
Reference in New Issue
Block a user