diff --git a/gehGassi.Common/Annotations.de.resx b/gehGassi.Common/Annotations.de.resx
index a9116b2..4076019 100644
--- a/gehGassi.Common/Annotations.de.resx
+++ b/gehGassi.Common/Annotations.de.resx
@@ -3933,4 +3933,13 @@
Max. Registrierungsdatum
+
+ Mangopay
+
+
+ Barzahlung
+
+
+ Zahlungsart
+
\ No newline at end of file
diff --git a/gehGassi.Common/Annotations.en.resx b/gehGassi.Common/Annotations.en.resx
index 0cd02d8..6920c68 100644
--- a/gehGassi.Common/Annotations.en.resx
+++ b/gehGassi.Common/Annotations.en.resx
@@ -3935,4 +3935,13 @@
Max. registered date
+
+ Mangopay
+
+
+ Cash
+
+
+ Payment tye
+
\ No newline at end of file
diff --git a/gehGassi.Common/Annotations.resx b/gehGassi.Common/Annotations.resx
index e6d9252..3246112 100644
--- a/gehGassi.Common/Annotations.resx
+++ b/gehGassi.Common/Annotations.resx
@@ -3934,4 +3934,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gehGassi.Domain/Common/Enums.cs b/gehGassi.Domain/Common/Enums.cs
index 2906b40..28074aa 100644
--- a/gehGassi.Domain/Common/Enums.cs
+++ b/gehGassi.Domain/Common/Enums.cs
@@ -303,6 +303,21 @@ namespace gehGassi.Domain.Common
PayPal = 30
}
+ ///
+ /// Zahlungsart für einen Walk
+ ///
+ public enum WalkPaymentType
+ {
+ ///
+ /// Mit MangoPay bezahlen (z.B. Kreditkarte)
+ ///
+ MangoPay = 1,
+ ///
+ /// Barzahlung
+ ///
+ Cash = 10
+ }
+
///
/// Zahlungsstatus
///
diff --git a/gehGassi.Domain/Walks/Walk.cs b/gehGassi.Domain/Walks/Walk.cs
index d6b09a1..62a552c 100644
--- a/gehGassi.Domain/Walks/Walk.cs
+++ b/gehGassi.Domain/Walks/Walk.cs
@@ -178,6 +178,12 @@ namespace gehGassi.Domain.Walks
[Required]
public PaymentStatus PaymentStatus { get; set; }
+ ///
+ /// Welche Art von Bezahlung wurde verwendet
+ ///
+ [Required]
+ public WalkPaymentType PaymentType { get; set; }
+
///
/// Id des Gutscheins der verwendet wurde, wenn einer verwendet wurde
///
@@ -473,6 +479,11 @@ namespace gehGassi.Domain.Walks
///
public PaymentStatus PaymentStatus { get; set; }
+ ///
+ /// Welche Art von Bezahlung wurde verwendet
+ ///
+ public WalkPaymentType PaymentType { get; set; }
+
///
/// Id des Gutscheins der verwendet wurde, wenn einer verwendet wurde
///
diff --git a/gehGassi.Persistence/Migrations/20250630082853_Walk_PaymentType_Added.Designer.cs b/gehGassi.Persistence/Migrations/20250630082853_Walk_PaymentType_Added.Designer.cs
new file mode 100644
index 0000000..141a948
--- /dev/null
+++ b/gehGassi.Persistence/Migrations/20250630082853_Walk_PaymentType_Added.Designer.cs
@@ -0,0 +1,9478 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using NetTopologySuite.Geometries;
+using gehGassi.Persistence;
+
+#nullable disable
+
+namespace gehGassi.Persistence.Migrations
+{
+ [DbContext(typeof(SqlDbContext))]
+ [Migration("20250630082853_Walk_PaymentType_Added")]
+ partial class Walk_PaymentType_Added
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("ProductVersion", "8.0.10")
+ .HasAnnotation("Relational:MaxIdentifierLength", 128);
+
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
+
+ modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
+
+ b.Property("ClaimType")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ClaimValue")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("RoleId")
+ .IsRequired()
+ .HasColumnType("nvarchar(450)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("RoleId");
+
+ b.ToTable("AspNetRoleClaims", (string)null);
+ });
+
+ modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
+
+ b.Property("ClaimType")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ClaimValue")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UserId")
+ .IsRequired()
+ .HasColumnType("nvarchar(450)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("AspNetUserClaims", (string)null);
+ });
+
+ modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b =>
+ {
+ b.Property("LoginProvider")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("ProviderKey")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("ProviderDisplayName")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UserId")
+ .IsRequired()
+ .HasColumnType("nvarchar(450)");
+
+ b.HasKey("LoginProvider", "ProviderKey");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("AspNetUserLogins", (string)null);
+ });
+
+ modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole", b =>
+ {
+ b.Property("UserId")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("RoleId")
+ .HasColumnType("nvarchar(450)");
+
+ b.HasKey("UserId", "RoleId");
+
+ b.HasIndex("RoleId");
+
+ b.ToTable("AspNetUserRoles", (string)null);
+ });
+
+ modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b =>
+ {
+ b.Property("UserId")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("LoginProvider")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("Name")
+ .HasColumnType("nvarchar(450)");
+
+ b.Property("Value")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("UserId", "LoginProvider", "Name");
+
+ b.ToTable("AspNetUserTokens", (string)null);
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.Advertisement", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("AdvertisementCategoryId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("CartId")
+ .HasColumnType("bigint");
+
+ b.Property("CartItemId")
+ .HasColumnType("bigint");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("CustomerId")
+ .HasColumnType("bigint");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Discount")
+ .HasColumnType("decimal(18,2)");
+
+ b.Property("EndDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("GeoMode")
+ .HasColumnType("int");
+
+ b.Property("Image")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("Image2")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("Image2LanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Index"));
+
+ b.Property("Location")
+ .HasColumnType("geography");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("OrderId")
+ .HasColumnType("bigint");
+
+ b.Property("OrderItemId")
+ .HasColumnType("bigint");
+
+ b.Property("PayedDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("PaymentStatus")
+ .HasColumnType("int");
+
+ b.Property("PaymentType")
+ .HasColumnType("int");
+
+ b.Property("Radius")
+ .HasColumnType("float");
+
+ b.Property("StartDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Status")
+ .HasColumnType("int");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Url")
+ .HasMaxLength(2083)
+ .HasColumnType("nvarchar(2083)");
+
+ b.Property("UrlLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("rowversion");
+
+ b.HasKey("Id");
+
+ b.HasIndex("AdvertisementCategoryId");
+
+ b.HasIndex("CustomerId");
+
+ b.HasIndex("Index");
+
+ b.HasIndex("OrderId");
+
+ b.HasIndex("OrderItemId");
+
+ b.ToTable("Advertisements");
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.AdvertisementCategory", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Comment")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Index"));
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("OnlineStatus")
+ .HasColumnType("int");
+
+ b.Property("Title")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("nvarchar(100)");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("rowversion");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Index");
+
+ b.ToTable("AdvertisementCategories");
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.AdvertisementCategoryWithNames", b =>
+ {
+ b.Property("Comment")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("Description")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Id")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguage")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .HasColumnType("bigint");
+
+ b.Property("Name")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("OnlineStatus")
+ .HasColumnType("int");
+
+ b.Property("Title")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Version")
+ .HasColumnType("varbinary(max)");
+
+ b.ToTable((string)null);
+
+ b.ToView(null, (string)null);
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.AdvertisementWithNames", b =>
+ {
+ b.Property("Address_CountryCode")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Address_State")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("AdvertisementCategoryId")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("AdvertisementCategoryName")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("CustomerId")
+ .HasColumnType("bigint");
+
+ b.Property("CustomerName")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("Description")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Discount")
+ .HasColumnType("decimal(18,2)");
+
+ b.Property("EndDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("GeoMode")
+ .HasColumnType("int");
+
+ b.Property("Id")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image2")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image2Language")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image2LanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguage")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .HasColumnType("bigint");
+
+ b.Property("Location")
+ .HasColumnType("geography");
+
+ b.Property("Name")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("PayedDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("PaymentStatus")
+ .HasColumnType("int");
+
+ b.Property("PaymentType")
+ .HasColumnType("int");
+
+ b.Property("Radius")
+ .HasColumnType("float");
+
+ b.Property("StartDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Status")
+ .HasColumnType("int");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Url")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UrlLanguage")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UrlLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Version")
+ .HasColumnType("varbinary(max)");
+
+ b.ToTable((string)null);
+
+ b.ToView(null, (string)null);
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.Banner", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("BannerLocation")
+ .HasColumnType("int");
+
+ b.Property("BannerSize")
+ .HasColumnType("int");
+
+ b.Property("Budget")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("BudgetUsed")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("CartId")
+ .HasColumnType("bigint");
+
+ b.Property("CartItemId")
+ .HasColumnType("bigint");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("CurrentClicks")
+ .HasColumnType("int");
+
+ b.Property("CurrentViews")
+ .HasColumnType("int");
+
+ b.Property("CustomerId")
+ .HasColumnType("bigint");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("EndDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("GeoMode")
+ .HasColumnType("int");
+
+ b.Property("Image")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Index"));
+
+ b.Property("Location")
+ .HasColumnType("geography");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("OrderId")
+ .HasColumnType("bigint");
+
+ b.Property("OrderItemId")
+ .HasColumnType("bigint");
+
+ b.Property("PayedDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("PaymentStatus")
+ .HasColumnType("int");
+
+ b.Property("PaymentType")
+ .HasColumnType("int");
+
+ b.Property("PriceClick")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("PriceView")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("Radius")
+ .HasColumnType("float");
+
+ b.Property("StartDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Status")
+ .HasColumnType("int");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Url")
+ .HasMaxLength(2083)
+ .HasColumnType("nvarchar(2083)");
+
+ b.Property("UrlLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("rowversion");
+
+ b.HasKey("Id");
+
+ b.HasIndex("CustomerId");
+
+ b.HasIndex("Index");
+
+ b.HasIndex("OrderId");
+
+ b.HasIndex("OrderItemId");
+
+ b.ToTable("Banners");
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.BannerStatistic", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
+
+ b.Property("AppMode")
+ .HasColumnType("int");
+
+ b.Property("BannerId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("CountryCode")
+ .IsRequired()
+ .HasMaxLength(2)
+ .HasColumnType("nvarchar(2)");
+
+ b.Property("Day")
+ .HasColumnType("int");
+
+ b.Property("EventDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Hour")
+ .HasColumnType("int");
+
+ b.Property("Language")
+ .HasMaxLength(10)
+ .HasColumnType("nvarchar(10)");
+
+ b.Property("Month")
+ .HasColumnType("int");
+
+ b.Property("StateCode")
+ .HasMaxLength(100)
+ .HasColumnType("nvarchar(100)");
+
+ b.Property("StatisticType")
+ .HasColumnType("int");
+
+ b.Property("Value")
+ .HasColumnType("int");
+
+ b.Property("Year")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.HasIndex("BannerId");
+
+ b.ToTable("BannerStatistics");
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.BannerWithNames", b =>
+ {
+ b.Property("Address_CountryCode")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Address_State")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("BannerLocation")
+ .HasColumnType("int");
+
+ b.Property("BannerSize")
+ .HasColumnType("int");
+
+ b.Property("Budget")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("BudgetUsed")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("CurrentClicks")
+ .HasColumnType("int");
+
+ b.Property("CurrentViews")
+ .HasColumnType("int");
+
+ b.Property("CustomerId")
+ .HasColumnType("bigint");
+
+ b.Property("CustomerName")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("EndDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("GeoMode")
+ .HasColumnType("int");
+
+ b.Property("Id")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguage")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .HasColumnType("bigint");
+
+ b.Property("Location")
+ .HasColumnType("geography");
+
+ b.Property("Name")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("PayedDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("PaymentStatus")
+ .HasColumnType("int");
+
+ b.Property("PaymentType")
+ .HasColumnType("int");
+
+ b.Property("PriceClick")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("PriceView")
+ .HasColumnType("decimal(18,4)");
+
+ b.Property("Radius")
+ .HasColumnType("float");
+
+ b.Property("StartDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Status")
+ .HasColumnType("int");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Url")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UrlLanguage")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UrlLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Version")
+ .HasColumnType("varbinary(max)");
+
+ b.ToTable((string)null);
+
+ b.ToView(null, (string)null);
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.Branch", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Comment")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Index"));
+
+ b.Property("ListingAllowed")
+ .HasColumnType("bit");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("OnlineStatus")
+ .HasColumnType("int");
+
+ b.Property("Order")
+ .HasColumnType("int");
+
+ b.Property("Title")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("nvarchar(100)");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("rowversion");
+
+ b.HasKey("Id");
+
+ b.ToTable("Branches");
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.BranchWithNames", b =>
+ {
+ b.Property("Comment")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("Description")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Id")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Image")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguage")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .HasColumnType("bigint");
+
+ b.Property("ListingAllowed")
+ .HasColumnType("bit");
+
+ b.Property("Name")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("NameLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("OnlineStatus")
+ .HasColumnType("int");
+
+ b.Property("Order")
+ .HasColumnType("int");
+
+ b.Property("Title")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Version")
+ .HasColumnType("varbinary(max)");
+
+ b.ToTable((string)null);
+
+ b.ToView(null, (string)null);
+ });
+
+ modelBuilder.Entity("gehGassi.Domain.Advertisements.Listing", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("BranchId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("CartId")
+ .HasColumnType("bigint");
+
+ b.Property("CartItemId")
+ .HasColumnType("bigint");
+
+ b.Property("Created")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("CustomerId")
+ .HasColumnType("bigint");
+
+ b.Property("Deleted")
+ .HasColumnType("bit");
+
+ b.Property("DescriptionLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("EndDate")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("GeoMode")
+ .HasColumnType("int");
+
+ b.Property("Image")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("Image2")
+ .HasMaxLength(500)
+ .HasColumnType("nvarchar(500)");
+
+ b.Property("Image2LanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("ImageLanguageLocalized")
+ .HasColumnType("nvarchar(max)");
+
+ b.Property("Index")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bigint");
+
+ SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Index"));
+
+ b.Property