2025-09-27 10:23:45 +03:30
|
|
|
|
// <auto-generated />
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using CMSMicroservice.Infrastructure.Persistence;
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
|
|
namespace CMSMicroservice.Infrastructure.Persistence.Migrations
|
|
|
|
|
|
{
|
|
|
|
|
|
[DbContext(typeof(ApplicationDbContext))]
|
|
|
|
|
|
partial class ApplicationDbContextModelSnapshot : ModelSnapshot
|
|
|
|
|
|
{
|
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
|
modelBuilder
|
|
|
|
|
|
.HasDefaultSchema("CMS")
|
2025-11-13 21:40:14 +03:30
|
|
|
|
.HasAnnotation("ProductVersion", "9.0.11")
|
2025-09-27 10:23:45 +03:30
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|
|
|
|
|
|
2025-11-20 20:06:01 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Category", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImagePath")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("ParentId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SortOrder")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ParentId");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("Categories", "CMS");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.ClubFeature", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.HasMaxLength(1000)
|
|
|
|
|
|
.HasColumnType("nvarchar(1000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("RequiredPoints")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SortOrder")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsActive", "SortOrder")
|
|
|
|
|
|
.HasDatabaseName("IX_ClubFeature_IsActive_SortOrder");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("ClubFeatures", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.ClubMembership", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("ActivatedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("GiftValue")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<long>("InitialContribution")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<int>("PurchaseMethod")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<long>("TotalEarned")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsActive")
|
|
|
|
|
|
.HasDatabaseName("IX_ClubMembership_IsActive");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_ClubMembership_UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("ClubMemberships", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.UserClubFeature", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ClubFeatureId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ClubMembershipId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("GrantedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
2025-12-12 01:40:26 +03:30
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bit")
|
|
|
|
|
|
.HasDefaultValue(true);
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Notes")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClubFeatureId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClubMembershipId")
|
|
|
|
|
|
.HasDatabaseName("IX_UserClubFeature_ClubMembershipId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId", "ClubFeatureId")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_UserClubFeature_UserId_ClubFeatureId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserClubFeatures", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Commission.UserCommissionPayout", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("BalancesEarned")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<string>("BankReferenceId")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("BankTrackingCode")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("IbanNumber")
|
|
|
|
|
|
.HasMaxLength(26)
|
|
|
|
|
|
.HasColumnType("nvarchar(26)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("PaidAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<string>("PaymentFailureReason")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-12-01 20:52:18 +03:30
|
|
|
|
b.Property<DateTime?>("ProcessedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProcessedBy")
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("RejectionReason")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<int>("Status")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ValuePerBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WeekNumber")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(20)
|
|
|
|
|
|
.HasColumnType("nvarchar(20)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("WeeklyPoolId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("WithdrawalMethod")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("WithdrawnAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Status")
|
|
|
|
|
|
.HasDatabaseName("IX_UserCommissionPayout_Status");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("WeekNumber")
|
|
|
|
|
|
.HasDatabaseName("IX_UserCommissionPayout_WeekNumber");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("WeeklyPoolId")
|
|
|
|
|
|
.HasDatabaseName("IX_UserCommissionPayout_WeeklyPoolId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId", "WeekNumber")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_UserCommissionPayout_UserId_WeekNumber");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserCommissionPayouts", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Commission.WeeklyCommissionPool", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("CalculatedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsCalculated")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("TotalBalances")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalPoolAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ValuePerBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WeekNumber")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(20)
|
|
|
|
|
|
.HasColumnType("nvarchar(20)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsCalculated")
|
|
|
|
|
|
.HasDatabaseName("IX_WeeklyCommissionPool_IsCalculated");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("WeekNumber")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_WeeklyCommissionPool_WeekNumber");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("WeeklyCommissionPools", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-12-01 20:52:18 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Commission.WorkerExecutionLog", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("CompletedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Details")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("DurationMs")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ErrorCount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ErrorMessage")
|
|
|
|
|
|
.HasMaxLength(2000)
|
|
|
|
|
|
.HasColumnType("nvarchar(2000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ErrorStackTrace")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<Guid>("ExecutionId")
|
|
|
|
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ProcessedCount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("StartedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Status")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WeekNumber")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(10)
|
|
|
|
|
|
.HasColumnType("nvarchar(10)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("StartedAt");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Status");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("WeekNumber");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("WorkerExecutionLogs", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Configuration.SystemConfiguration", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("DataType")
|
|
|
|
|
|
.HasMaxLength(50)
|
|
|
|
|
|
.HasColumnType("nvarchar(50)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Key")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Scope")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Value")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(1000)
|
|
|
|
|
|
.HasColumnType("nvarchar(1000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsActive")
|
|
|
|
|
|
.HasDatabaseName("IX_SystemConfiguration_IsActive");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Scope", "Key")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_SystemConfiguration_Scope_Key");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("SystemConfigurations", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-16 17:17:17 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Contract", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("HtmlContent")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Contracts", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DayaLoanContract", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ContractNumber")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsProcessed")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastCheckDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("NationalCode")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("ProcessedDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Status")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("TransactionId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("TransactionId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("DayaLoanContracts", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountCategory", b =>
|
2025-11-29 03:52:46 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.HasMaxLength(1000)
|
|
|
|
|
|
.HasColumnType("nvarchar(1000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImagePath")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bit")
|
|
|
|
|
|
.HasDefaultValue(true);
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long?>("ParentCategoryId")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("SortOrder")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("ParentCategoryId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("DiscountCategories", "CMS");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountOrder", b =>
|
2025-11-29 03:52:46 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("DeliveryDescription")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DeliveryStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("DiscountBalanceUsed")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("GatewayAmountPaid")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<DateTime?>("PaymentDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("PaymentStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("TotalAmount")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("TrackingCode")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long?>("TransactionId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserAddressId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("VatAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("TransactionId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("UserAddressId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("UserId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("DiscountOrders", "CMS");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountOrderDetail", b =>
|
2025-11-29 03:52:46 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("Count")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("DiscountAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("DiscountOrderId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DiscountPercentUsed")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("FinalPrice")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
2025-11-16 17:17:17 +03:30
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("ProductId")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("UnitPrice")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("DiscountOrderId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("ProductId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("DiscountOrderDetails", "CMS");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProduct", b =>
|
2025-11-29 03:52:46 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
2025-11-16 17:17:17 +03:30
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("FullInformation")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(2000)
|
|
|
|
|
|
.HasColumnType("nvarchar(2000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImagePath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bit")
|
|
|
|
|
|
.HasDefaultValue(true);
|
|
|
|
|
|
|
2025-11-16 17:17:17 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("MaxDiscountPercent")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("Price")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("Rate")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("RemainingCount")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("SaleCount")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("ShortInfomation")
|
|
|
|
|
|
.IsRequired()
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("ThumbnailPath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("ViewCount")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasKey("Id");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("DiscountProducts", "CMS");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProductCategory", b =>
|
2025-11-29 03:52:46 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("CategoryId")
|
2025-11-29 03:52:46 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
2025-11-16 17:17:17 +03:30
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-11-16 17:17:17 +03:30
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("CategoryId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("ProductId", "CategoryId")
|
|
|
|
|
|
.IsUnique();
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("DiscountProductCategories", "CMS");
|
2025-11-16 17:17:17 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountShoppingCart", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("Count")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-12-01 20:52:18 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasKey("Id");
|
2025-12-01 20:52:18 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("ProductId");
|
2025-12-01 20:52:18 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("UserId", "ProductId")
|
|
|
|
|
|
.IsUnique();
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("DiscountShoppingCarts", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Count")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsChangePrice")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("OrderId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("UnitDiscount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UnitDiscountPrice")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UnitPrice")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("OrderId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ProductId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("FactorDetails", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.ClubMembershipHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Action")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ClubMembershipId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("NewInitialContribution")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("NewIsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("OldInitialContribution")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("OldIsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PerformedBy")
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Reason")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Action")
|
|
|
|
|
|
.HasDatabaseName("IX_ClubMembershipHistory_Action");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ClubMembershipId")
|
|
|
|
|
|
.HasDatabaseName("IX_ClubMembershipHistory_ClubMembershipId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId", "Created")
|
|
|
|
|
|
.HasDatabaseName("IX_ClubMembershipHistory_UserId_Created");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("ClubMembershipHistories", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.CommissionPayoutHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Action")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("AmountAfter")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("AmountBefore")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("NewStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("OldStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PerformedBy")
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Reason")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserCommissionPayoutId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("WeekNumber")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(20)
|
|
|
|
|
|
.HasColumnType("nvarchar(20)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Action")
|
|
|
|
|
|
.HasDatabaseName("IX_CommissionPayoutHistory_Action");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserCommissionPayoutId")
|
|
|
|
|
|
.HasDatabaseName("IX_CommissionPayoutHistory_PayoutId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("WeekNumber")
|
|
|
|
|
|
.HasDatabaseName("IX_CommissionPayoutHistory_WeekNumber");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId", "Created")
|
|
|
|
|
|
.HasDatabaseName("IX_CommissionPayoutHistory_UserId_Created");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("CommissionPayoutHistories", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.NetworkMembershipHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Action")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("NewLegPosition")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("NewParentId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int?>("OldLegPosition")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("OldParentId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PerformedBy")
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Reason")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Action")
|
|
|
|
|
|
.HasDatabaseName("IX_NetworkMembershipHistory_Action");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId", "Created")
|
|
|
|
|
|
.HasDatabaseName("IX_NetworkMembershipHistory_UserId_Created");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("NetworkMembershipHistories", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.SystemConfigurationHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ConfigurationId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Key")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("NewValue")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(1000)
|
|
|
|
|
|
.HasColumnType("nvarchar(1000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("OldValue")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(1000)
|
|
|
|
|
|
.HasColumnType("nvarchar(1000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PerformedBy")
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Reason")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Scope")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ConfigurationId", "Created")
|
|
|
|
|
|
.HasDatabaseName("IX_SystemConfigurationHistory_ConfigId_Created");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Scope", "Key")
|
|
|
|
|
|
.HasDatabaseName("IX_SystemConfigurationHistory_Scope_Key");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("SystemConfigurationHistories", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Network.NetworkWeeklyBalance", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("CalculatedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-12-12 01:40:26 +03:30
|
|
|
|
b.Property<int>("FlushedPerSide")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsExpired")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("LeftLegBalances")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("LeftLegCarryover")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("LeftLegNewMembers")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("LeftLegRemainder")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("LeftLegTotal")
|
2025-12-01 20:52:18 +03:30
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<int>("RightLegBalances")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
2025-12-01 20:52:18 +03:30
|
|
|
|
b.Property<int>("RightLegCarryover")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("RightLegNewMembers")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("RightLegRemainder")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("RightLegTotal")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-12-12 01:40:26 +03:30
|
|
|
|
b.Property<int>("SubordinateBalances")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<int>("TotalBalances")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-12-12 01:40:26 +03:30
|
|
|
|
b.Property<int>("TotalFlushed")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<long>("UserId")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<string>("WeekNumber")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(20)
|
|
|
|
|
|
.HasColumnType("nvarchar(20)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("WeeklyPoolContribution")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.HasIndex("IsExpired")
|
|
|
|
|
|
.HasDatabaseName("IX_NetworkWeeklyBalance_IsExpired");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.HasIndex("WeekNumber")
|
|
|
|
|
|
.HasDatabaseName("IX_NetworkWeeklyBalance_WeekNumber");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.HasIndex("UserId", "WeekNumber")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_NetworkWeeklyBalance_UserId_WeekNumber");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("NetworkWeeklyBalances", "CMS");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Order.OrderVAT", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("BaseAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsPaid")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bit")
|
|
|
|
|
|
.HasDefaultValue(false);
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Note")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("OrderId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("PaidAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TotalAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("VATAmount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<decimal>("VATRate")
|
|
|
|
|
|
.HasColumnType("decimal(5,4)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Created")
|
|
|
|
|
|
.HasDatabaseName("IX_OrderVATs_Created");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsPaid")
|
|
|
|
|
|
.HasDatabaseName("IX_OrderVATs_IsPaid");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("OrderId")
|
|
|
|
|
|
.IsUnique()
|
|
|
|
|
|
.HasDatabaseName("IX_OrderVATs_OrderId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("OrderVATs", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 23:48:41 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.OtpToken", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Attempts")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CodeHash")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("ExpiresAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsUsed")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Mobile")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Purpose")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("OtpTokens", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImagePath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("Price")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Packages", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Payment.ManualPayment", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("Amount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("ApprovedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("ApprovedBy")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(1000)
|
|
|
|
|
|
.HasColumnType("nvarchar(1000)");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("ReferenceNumber")
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("RejectionReason")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("RequestedBy")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("Status")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long?>("TransactionId")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<int>("Type")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasKey("Id");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("ApprovedBy");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("Created");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("RequestedBy");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("Status");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("TransactionId");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("UserId");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("UserId", "Status");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("ManualPayments", "CMS");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Product", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<int>("ClubDiscountPercent")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Discount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("FullInformation")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImagePath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<bool>("IsClubExclusive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("Price")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Rate")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("RemainingCount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SaleCount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ShortInfomation")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ThumbnailPath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ViewCount")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsClubExclusive")
|
|
|
|
|
|
.HasDatabaseName("IX_Products_IsClubExclusive");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Products", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductCategory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("CategoryId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("CategoryId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ProductId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("ProductCategories", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallery", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ProductImageId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("ProductId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ProductImageId");
|
2025-11-29 03:52:46 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("ProductGalleries", "CMS");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImage", b =>
|
2025-11-20 20:06:01 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("ImagePath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ImageThumbnailPath")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-20 20:06:01 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("ProductImages", "CMS");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductTag", b =>
|
2025-11-20 20:06:01 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("TagId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ProductId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("TagId");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("ProductTags", "CMS");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
2025-12-06 00:16:30 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.PublicMessage", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("ArchivedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Content")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(2000)
|
|
|
|
|
|
.HasColumnType("nvarchar(2000)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("CreatedByUserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("EndDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("ExpiresAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bit")
|
|
|
|
|
|
.HasDefaultValue(true);
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsArchived")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LinkText")
|
|
|
|
|
|
.HasMaxLength(100)
|
|
|
|
|
|
.HasColumnType("nvarchar(100)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LinkUrl")
|
|
|
|
|
|
.HasMaxLength(500)
|
|
|
|
|
|
.HasColumnType("nvarchar(500)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Priority")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("PublishedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("StartDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("StartsAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasMaxLength(200)
|
|
|
|
|
|
.HasColumnType("nvarchar(200)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("ViewCount")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("int")
|
|
|
|
|
|
.HasDefaultValue(0);
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("CreatedByUserId")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_CreatedByUserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ExpiresAt")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_ExpiresAt");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsActive")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_IsActive");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Priority")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_Priority");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("StartsAt")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_StartsAt");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("Type")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_Type");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("IsActive", "ExpiresAt")
|
|
|
|
|
|
.HasDatabaseName("IX_PublicMessages_IsActive_ExpiresAt");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("PublicMessages", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Roles", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-20 20:06:01 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Tag", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsActive")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("SortOrder")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("Tags", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transaction", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("Amount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Description")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("PaymentDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PaymentStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("RefId")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Type")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("Transactions", "CMS");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("AvatarPath")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.Property<DateTime?>("BirthDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<DateTime?>("DayaCreditReceivedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Email")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.Property<bool>("EmailNotifications")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<string>("FirstName")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<bool>("HasReceivedDayaCredit")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-11-13 21:40:14 +03:30
|
|
|
|
b.Property<string>("HashPassword")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-27 23:48:41 +03:30
|
|
|
|
b.Property<bool>("IsMobileVerified")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-28 06:30:13 +03:30
|
|
|
|
b.Property<bool>("IsRulesAccepted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastName")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<int?>("LegPosition")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<string>("Mobile")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-09-27 23:48:41 +03:30
|
|
|
|
b.Property<DateTime?>("MobileVerifiedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<string>("NationalCode")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<long?>("NetworkParentId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<int>("PackagePurchaseMethod")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.Property<bool>("PushNotifications")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-27 23:48:41 +03:30
|
|
|
|
b.Property<string>("ReferralCode")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-09-28 06:30:13 +03:30
|
|
|
|
b.Property<DateTime?>("RulesAcceptedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.Property<bool>("SmsNotifications")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.HasIndex("LegPosition")
|
|
|
|
|
|
.HasDatabaseName("IX_User_LegPosition");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("NetworkParentId")
|
|
|
|
|
|
.HasDatabaseName("IX_User_NetworkParentId");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.ToTable("Users", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Address")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("CityId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDefault")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PostalCode")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Title")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("UserAddresses", "CMS");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCart", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("Count")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ProductId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ProductId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.ToTable("UserCarts", "CMS");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-16 17:17:17 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserContract", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("ContractId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("SignGuid")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("SignedPdfFile")
|
|
|
|
|
|
.IsRequired()
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ContractId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserContracts", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
2025-11-25 01:58:45 +03:30
|
|
|
|
b.Property<long>("Amount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-27 06:39:47 +03:30
|
|
|
|
b.Property<string>("DeliveryDescription")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("DeliveryStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<bool>("HasVAT")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Property<long?>("OrderVATId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-25 01:58:45 +03:30
|
|
|
|
b.Property<long?>("PackageId")
|
2025-09-27 10:23:45 +03:30
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("PaymentDate")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
2025-11-24 22:55:14 +03:30
|
|
|
|
b.Property<int?>("PaymentMethod")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<int>("PaymentStatus")
|
|
|
|
|
|
.HasColumnType("int");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
|
2025-11-27 06:39:47 +03:30
|
|
|
|
b.Property<string>("TrackingCode")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<long?>("TransactionId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.Property<long>("UserAddressId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasIndex("OrderVATId");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.HasIndex("PackageId");
|
|
|
|
|
|
|
2025-11-25 01:58:45 +03:30
|
|
|
|
b.HasIndex("TransactionId");
|
|
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.HasIndex("UserAddressId");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserOrders", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserPackagePurchase", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("Amount")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("OrderId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("PackageId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PurchaseMethod")
|
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("PurchasedAt")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("TransactionId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("OrderId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("PackageId")
|
|
|
|
|
|
.HasDatabaseName("IX_UserPackagePurchase_PackageId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("PurchasedAt")
|
|
|
|
|
|
.HasDatabaseName("IX_UserPackagePurchase_PurchasedAt");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("TransactionId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId")
|
|
|
|
|
|
.HasDatabaseName("IX_UserPackagePurchase_UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId", "PurchasedAt")
|
|
|
|
|
|
.HasDatabaseName("IX_UserPackagePurchase_UserId_PurchasedAt");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserPackagePurchases", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserRole", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("RoleId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("RoleId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserRoles", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("Balance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Property<long>("DiscountBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
2025-11-25 02:08:28 +03:30
|
|
|
|
b.Property<long>("NetworkBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<long>("UserId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserWallets", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Property<long>("Id")
|
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<long>("ChangeDiscountValue")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-25 02:08:28 +03:30
|
|
|
|
b.Property<long>("ChangeNerworkValue")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<long>("ChangeValue")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("CreatedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("CurrentBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Property<long>("CurrentDiscountBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-25 02:08:28 +03:30
|
|
|
|
b.Property<long>("CurrentNetworkBalance")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Property<bool>("IsDeleted")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("IsIncrease")
|
|
|
|
|
|
.HasColumnType("bit");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime?>("LastModified")
|
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastModifiedBy")
|
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long?>("RefrenceId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.Property<long>("WalletId")
|
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasIndex("WalletId");
|
|
|
|
|
|
|
|
|
|
|
|
b.ToTable("UserWalletChangeLogs", "CMS");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-20 20:06:01 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Category", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Category", "Parent")
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
.WithMany("Categories")
|
2025-11-20 20:06:01 +03:30
|
|
|
|
.HasForeignKey("ParentId");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Parent");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.ClubMembership", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithOne("ClubMembership")
|
|
|
|
|
|
.HasForeignKey("CMSMicroservice.Domain.Entities.Club.ClubMembership", "UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.UserClubFeature", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Club.ClubFeature", "ClubFeature")
|
|
|
|
|
|
.WithMany("UserClubFeatures")
|
|
|
|
|
|
.HasForeignKey("ClubFeatureId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Club.ClubMembership", "ClubMembership")
|
|
|
|
|
|
.WithMany("UserClubFeatures")
|
|
|
|
|
|
.HasForeignKey("ClubMembershipId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("UserClubFeatures")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ClubFeature");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ClubMembership");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Commission.UserCommissionPayout", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("CommissionPayouts")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Commission.WeeklyCommissionPool", "WeeklyPool")
|
|
|
|
|
|
.WithMany("UserCommissionPayouts")
|
|
|
|
|
|
.HasForeignKey("WeeklyPoolId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("WeeklyPool");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DayaLoanContract", b =>
|
|
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Transaction", "Transaction")
|
2025-12-02 03:30:36 +03:30
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("TransactionId");
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("DayaLoanContracts")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Transaction");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountCategory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.DiscountShop.DiscountCategory", "ParentCategory")
|
|
|
|
|
|
.WithMany("ChildCategories")
|
|
|
|
|
|
.HasForeignKey("ParentCategoryId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict);
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ParentCategory");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountOrder", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Transaction", "Transaction")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("TransactionId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict);
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.UserAddress", "UserAddress")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("UserAddressId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("DiscountOrders")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Transaction");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("UserAddress");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountOrderDetail", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.DiscountShop.DiscountOrder", "DiscountOrder")
|
|
|
|
|
|
.WithMany("OrderDetails")
|
|
|
|
|
|
.HasForeignKey("DiscountOrderId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProduct", "Product")
|
|
|
|
|
|
.WithMany("OrderDetails")
|
|
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("DiscountOrder");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProductCategory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.DiscountShop.DiscountCategory", "Category")
|
|
|
|
|
|
.WithMany("ProductCategories")
|
|
|
|
|
|
.HasForeignKey("CategoryId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProduct", "Product")
|
|
|
|
|
|
.WithMany("ProductCategories")
|
|
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Category");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountShoppingCart", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProduct", "Product")
|
|
|
|
|
|
.WithMany("ShoppingCarts")
|
|
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("DiscountShoppingCarts")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order")
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
.WithMany("FactorDetails")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasForeignKey("OrderId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Product", "Product")
|
|
|
|
|
|
.WithMany("FactorDetails")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Order");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.ClubMembershipHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Club.ClubMembership", "ClubMembership")
|
|
|
|
|
|
.WithMany("ClubMembershipHistories")
|
|
|
|
|
|
.HasForeignKey("ClubMembershipId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ClubMembership");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.CommissionPayoutHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Commission.UserCommissionPayout", "UserCommissionPayout")
|
|
|
|
|
|
.WithMany("CommissionPayoutHistories")
|
|
|
|
|
|
.HasForeignKey("UserCommissionPayoutId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("UserCommissionPayout");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.History.SystemConfigurationHistory", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Configuration.SystemConfiguration", "Configuration")
|
|
|
|
|
|
.WithMany("SystemConfigurationHistories")
|
|
|
|
|
|
.HasForeignKey("ConfigurationId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Configuration");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Network.NetworkWeeklyBalance", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("NetworkWeeklyBalances")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Order.OrderVAT", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order")
|
|
|
|
|
|
.WithOne()
|
|
|
|
|
|
.HasForeignKey("CMSMicroservice.Domain.Entities.Order.OrderVAT", "OrderId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("Order");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Payment.ManualPayment", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Transaction", "Transaction")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("TransactionId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict);
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("Transaction");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("User");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductCategory", b =>
|
2025-11-20 20:06:01 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Category", "Category")
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
.WithMany("ProductCategories")
|
2025-11-20 20:06:01 +03:30
|
|
|
|
.HasForeignKey("CategoryId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Product", "Product")
|
|
|
|
|
|
.WithMany("ProductCategories")
|
2025-11-20 20:06:01 +03:30
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Category");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallery", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Product", "Product")
|
|
|
|
|
|
.WithMany("ProductGalleries")
|
|
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.ProductImage", "ProductImage")
|
|
|
|
|
|
.WithMany("ProductGalleries")
|
|
|
|
|
|
.HasForeignKey("ProductImageId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ProductImage");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductTag", b =>
|
2025-11-20 20:06:01 +03:30
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Product", "Product")
|
|
|
|
|
|
.WithMany("ProductTags")
|
2025-11-20 20:06:01 +03:30
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Tag", "Tag")
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
.WithMany("ProductTags")
|
2025-11-20 20:06:01 +03:30
|
|
|
|
.HasForeignKey("TagId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Tag");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b =>
|
|
|
|
|
|
{
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "NetworkParent")
|
|
|
|
|
|
.WithMany("NetworkChildren")
|
|
|
|
|
|
.HasForeignKey("NetworkParentId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict);
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("NetworkParent");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
.WithMany("UserAddresses")
|
2025-09-27 10:23:45 +03:30
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCart", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Product", "Product")
|
|
|
|
|
|
.WithMany("UserCarts")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasForeignKey("ProductId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
.WithMany("UserCarts")
|
2025-11-12 22:13:55 +03:30
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Product");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-16 17:17:17 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserContract", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Contract", "Contract")
|
|
|
|
|
|
.WithMany("UserContracts")
|
|
|
|
|
|
.HasForeignKey("ContractId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("UserContracts")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Contract");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b =>
|
|
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Order.OrderVAT", "OrderVAT")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("OrderVATId");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Package", "Package")
|
|
|
|
|
|
.WithMany("UserOrders")
|
2025-11-25 01:58:45 +03:30
|
|
|
|
.HasForeignKey("PackageId");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Transaction", "Transaction")
|
2025-11-25 01:58:45 +03:30
|
|
|
|
.WithMany("UserOrders")
|
|
|
|
|
|
.HasForeignKey("TransactionId");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
|
2025-10-13 08:19:47 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.UserAddress", "UserAddress")
|
|
|
|
|
|
.WithMany("UserOrders")
|
|
|
|
|
|
.HasForeignKey("UserAddressId")
|
2025-11-25 01:58:45 +03:30
|
|
|
|
.OnDelete(DeleteBehavior.NoAction)
|
2025-10-13 08:19:47 +03:30
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("UserOrders")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("OrderVAT");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Navigation("Package");
|
|
|
|
|
|
|
2025-11-25 01:58:45 +03:30
|
|
|
|
b.Navigation("Transaction");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Navigation("User");
|
2025-10-13 08:19:47 +03:30
|
|
|
|
|
|
|
|
|
|
b.Navigation("UserAddress");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserPackagePurchase", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("OrderId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict);
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Package", "Package")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("PackageId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Transaction", "Transaction")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("TransactionId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict);
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany()
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Restrict)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Order");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Package");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Transaction");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserRole", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.Role", "Role")
|
|
|
|
|
|
.WithMany("UserRoles")
|
|
|
|
|
|
.HasForeignKey("RoleId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("UserRoles")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Role");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.User", "User")
|
|
|
|
|
|
.WithMany("UserWallets")
|
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("User");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.HasOne("CMSMicroservice.Domain.Entities.UserWallet", "Wallet")
|
|
|
|
|
|
.WithMany("UserWalletChangeLogs")
|
|
|
|
|
|
.HasForeignKey("WalletId")
|
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("Wallet");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-20 20:06:01 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Category", b =>
|
|
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("Categories");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ProductCategories");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.ClubFeature", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserClubFeatures");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Club.ClubMembership", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("ClubMembershipHistories");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("UserClubFeatures");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Commission.UserCommissionPayout", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("CommissionPayoutHistories");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Commission.WeeklyCommissionPool", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserCommissionPayouts");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Configuration.SystemConfiguration", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("SystemConfigurationHistories");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-16 17:17:17 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Contract", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserContracts");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountCategory", b =>
|
2025-09-27 10:23:45 +03:30
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ChildCategories");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ProductCategories");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountOrder", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("OrderDetails");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.DiscountShop.DiscountProduct", b =>
|
2025-11-12 22:13:55 +03:30
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("OrderDetails");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ProductCategories");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ShoppingCarts");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserOrders");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Product", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("FactorDetails");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ProductCategories");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ProductGalleries");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("ProductTags");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("UserCarts");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImage", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("ProductGalleries");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserRoles");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-11-20 20:06:01 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Tag", b =>
|
|
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("ProductTags");
|
2025-11-20 20:06:01 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transaction", b =>
|
2025-11-25 01:58:45 +03:30
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserOrders");
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b =>
|
|
|
|
|
|
{
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Navigation("ClubMembership");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("CommissionPayouts");
|
|
|
|
|
|
|
2025-12-02 03:30:36 +03:30
|
|
|
|
b.Navigation("DayaLoanContracts");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("DiscountOrders");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("DiscountShoppingCarts");
|
|
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Navigation("NetworkChildren");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("NetworkWeeklyBalances");
|
|
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("UserAddresses");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("UserCarts");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
2025-11-29 03:52:46 +03:30
|
|
|
|
b.Navigation("UserClubFeatures");
|
|
|
|
|
|
|
2025-11-16 17:17:17 +03:30
|
|
|
|
b.Navigation("UserContracts");
|
|
|
|
|
|
|
2025-09-27 10:23:45 +03:30
|
|
|
|
b.Navigation("UserOrders");
|
|
|
|
|
|
|
|
|
|
|
|
b.Navigation("UserRoles");
|
|
|
|
|
|
|
2025-11-12 22:13:55 +03:30
|
|
|
|
b.Navigation("UserWallets");
|
2025-09-27 10:23:45 +03:30
|
|
|
|
});
|
2025-10-13 08:19:47 +03:30
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserOrders");
|
|
|
|
|
|
});
|
2025-11-12 22:13:55 +03:30
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b =>
|
|
|
|
|
|
{
|
Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
|
|
|
|
b.Navigation("FactorDetails");
|
2025-11-12 22:13:55 +03:30
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
b.Navigation("UserWalletChangeLogs");
|
|
|
|
|
|
});
|
2025-09-27 10:23:45 +03:30
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|