test project created

This commit is contained in:
Kalana B. Thilakarathna
2026-08-19 14:40:04 +05:30
parent 397af8fd59
commit 4673d72d53
148 changed files with 8252 additions and 285 deletions
@@ -3,6 +3,7 @@ using System;
using Distribution.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
@@ -16,9 +17,11 @@ namespace Distribution.Migrations
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "10.0.9")
.HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
modelBuilder.Entity("Distribution.Models.Brand", b =>
{
b.Property<Guid>("Id")
@@ -138,7 +141,7 @@ namespace Distribution.Migrations
.HasColumnType("longtext");
b.Property<decimal?>("SalePrice")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.Property<string>("Sku")
.IsRequired()
@@ -179,7 +182,7 @@ namespace Distribution.Migrations
.HasColumnType("datetime(6)");
b.Property<decimal>("TotalAmount")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.HasKey("Id");
@@ -209,7 +212,7 @@ namespace Distribution.Migrations
.HasColumnType("int");
b.Property<decimal>("UnitPrice")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.HasKey("FK_OrderId", "FK_ItemId");
@@ -1642,7 +1645,7 @@ namespace Distribution.Migrations
.HasColumnType("tinyint(1)");
b.Property<decimal>("Length")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.Property<string>("RouteName")
.IsRequired()
@@ -1686,7 +1689,7 @@ namespace Distribution.Migrations
.HasColumnType("datetime(6)");
b.Property<decimal>("CreditAmount")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.Property<Guid>("FK_RouteId")
.HasColumnType("char(36)");
@@ -1695,13 +1698,13 @@ namespace Distribution.Migrations
.HasColumnType("tinyint(1)");
b.Property<decimal>("Latitude")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.Property<decimal>("Longitude")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.Property<decimal>("OneTimeAmount")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.Property<string>("OwnerName")
.IsRequired()
@@ -1791,7 +1794,7 @@ namespace Distribution.Migrations
.HasColumnType("char(36)");
b.Property<decimal>("Factor")
.HasColumnType("decimal(18,2)");
.HasColumnType("decimal(65,30)");
b.HasKey("Id");