diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..9e26dfe
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1 @@
+{}
\ No newline at end of file
diff --git a/gehGassiApp/gehGassiApp.Core/Services/CommunicationService.cs b/gehGassiApp/gehGassiApp.Core/Services/CommunicationService.cs
index 10aebcb..c7cc88d 100644
--- a/gehGassiApp/gehGassiApp.Core/Services/CommunicationService.cs
+++ b/gehGassiApp/gehGassiApp.Core/Services/CommunicationService.cs
@@ -352,7 +352,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(registerDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/v2/Account/Register", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v3/Account/Register", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -453,7 +453,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(registerDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/v2/Account/RegisterExternal", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v3/Account/RegisterExternal", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -5952,7 +5952,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(requestDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/AcceptPublicWalkRequest", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/AcceptPublicWalkRequest", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -7499,7 +7499,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(requestDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/CancelWalk", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/CancelWalk", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -7688,7 +7688,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(requestDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/ConfirmWalk", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/ConfirmWalk", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -7754,7 +7754,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(requestDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/ConfirmWalkWithRating", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/ConfirmWalkWithRating", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -7953,7 +7953,7 @@ namespace gehGassiApp.Core.Services
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/CreateWalkDirect", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/CreateWalkDirect", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -8032,7 +8032,7 @@ namespace gehGassiApp.Core.Services
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/CreateWalkRequest", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/CreateWalkRequest", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
@@ -8106,7 +8106,7 @@ namespace gehGassiApp.Core.Services
var json = JsonSerializer.Serialize(requestDto, _jsonOptions);
var stringContent = new StringContent(json, Encoding.UTF8, "application/json");
- var serverResult = await _httpClient.PostAsync($"api/walks/AcceptWalk", stringContent, token).ConfigureAwait(false);
+ var serverResult = await _httpClient.PostAsync($"api/v2/walks/AcceptWalk", stringContent, token).ConfigureAwait(false);
if (serverResult.IsSuccessStatusCode)
{
diff --git a/gehGassiApp/gehGassiApp.Data/Infos.txt b/gehGassiApp/gehGassiApp.Data/Infos.txt
index 4234914..3fdd50f 100644
--- a/gehGassiApp/gehGassiApp.Data/Infos.txt
+++ b/gehGassiApp/gehGassiApp.Data/Infos.txt
@@ -1,6 +1,11 @@
migrations:
+dotnet ef migrations add XXX --project gehGassiApp.Data --startup-project gehGassiApp.DbConfig
+
+dotnet ef database update --project gehGassiApp.Data --startup-project gehGassiApp.DbConfig
+
+
add-migration xxx -Project gehGassiApp.Data -StartupProject gehGassiApp.DbConfig
add-migration Initial -Project gehGassiApp.Data -StartupProject gehGassiApp.DbConfig
diff --git a/gehGassiApp/gehGassiApp.Data/Migrations/20250706144607_Walk_PaymentType_Added.Designer.cs b/gehGassiApp/gehGassiApp.Data/Migrations/20250706144607_Walk_PaymentType_Added.Designer.cs
new file mode 100644
index 0000000..34f1ac6
--- /dev/null
+++ b/gehGassiApp/gehGassiApp.Data/Migrations/20250706144607_Walk_PaymentType_Added.Designer.cs
@@ -0,0 +1,1793 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using gehGassiApp.Data;
+
+#nullable disable
+
+namespace gehGassiApp.Data.Migrations
+{
+ [DbContext(typeof(LocalDbContext))]
+ [Migration("20250706144607_Walk_PaymentType_Added")]
+ partial class Walk_PaymentType_Added
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder.HasAnnotation("ProductVersion", "8.0.12");
+
+ modelBuilder.Entity("gehGassiApp.Domain.Common.Rating", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("FromId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("FromType")
+ .HasColumnType("INTEGER");
+
+ b.Property("Info")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("Points")
+ .HasColumnType("TEXT");
+
+ b.Property("TargetId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("TargetType")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("Ratings");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Common.SyncInfoPull", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("INTEGER");
+
+ b.Property("LastUpdate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Table")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.HasKey("Id");
+
+ b.ToTable("SyncInfosPull");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Common.SyncInfoPush", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("TEXT");
+
+ b.Property("DateTime")
+ .HasColumnType("INTEGER");
+
+ b.Property("Key")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("Operation")
+ .HasColumnType("INTEGER");
+
+ b.Property("Table")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("Value")
+ .HasColumnType("TEXT");
+
+ b.HasKey("Id");
+
+ b.ToTable("SyncInfosPush");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Dogs.Dog", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("AggressionLevel")
+ .HasColumnType("INTEGER");
+
+ b.Property("AppUserId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("BasicCommands")
+ .HasColumnType("INTEGER");
+
+ b.Property("BirthDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Chiped")
+ .HasColumnType("INTEGER");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Description")
+ .HasMaxLength(5000)
+ .HasColumnType("TEXT");
+
+ b.Property("DogRaceId")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Eating")
+ .HasColumnType("INTEGER");
+
+ b.Property("FeedingIndividual")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("FeedingTimes")
+ .HasColumnType("INTEGER");
+
+ b.Property("HouseTrained")
+ .HasColumnType("INTEGER");
+
+ b.Property("Hunter")
+ .HasColumnType("INTEGER");
+
+ b.Property("Intolerances")
+ .HasMaxLength(5000)
+ .HasColumnType("TEXT");
+
+ b.Property("IsAggressiv")
+ .HasColumnType("INTEGER");
+
+ b.Property("IsCalm")
+ .HasColumnType("INTEGER");
+
+ b.Property("IsGuard")
+ .HasColumnType("INTEGER");
+
+ b.Property("IsLoneGunner")
+ .HasColumnType("INTEGER");
+
+ b.Property("IsPeeing")
+ .HasColumnType("INTEGER");
+
+ b.Property("IsShy")
+ .HasColumnType("INTEGER");
+
+ b.Property("IsTrustful")
+ .HasColumnType("INTEGER");
+
+ b.Property("Jumper")
+ .HasColumnType("INTEGER");
+
+ b.Property("LikesAdults")
+ .HasColumnType("INTEGER");
+
+ b.Property("LikesChildren")
+ .HasColumnType("INTEGER");
+
+ b.Property("LikesConspecifics")
+ .HasColumnType("INTEGER");
+
+ b.Property("MedicalInfo")
+ .HasMaxLength(5000)
+ .HasColumnType("TEXT");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("Number")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("Photo")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("PullsTheLeash")
+ .HasColumnType("INTEGER");
+
+ b.Property("RushesOutside")
+ .HasColumnType("INTEGER");
+
+ b.Property("Sex")
+ .HasColumnType("INTEGER");
+
+ b.Property("Size")
+ .HasColumnType("INTEGER");
+
+ b.Property("Sterilized")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.Property("WalksTheLeash")
+ .HasColumnType("INTEGER");
+
+ b.HasKey("Id");
+
+ b.HasIndex("DogRaceId");
+
+ b.ToTable("Dogs");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Dogs.DogRace", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Age")
+ .HasMaxLength(1000)
+ .HasColumnType("TEXT");
+
+ b.Property("Care")
+ .HasMaxLength(1000)
+ .HasColumnType("TEXT");
+
+ b.Property("Coexistence")
+ .HasMaxLength(1000)
+ .HasColumnType("TEXT");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Decision")
+ .HasMaxLength(2000)
+ .HasColumnType("TEXT");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Description")
+ .HasMaxLength(5000)
+ .HasColumnType("TEXT");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("Personality")
+ .HasMaxLength(2000)
+ .HasColumnType("TEXT");
+
+ b.Property("Photo")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("SizeAndWeight")
+ .HasMaxLength(1000)
+ .HasColumnType("TEXT");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("DogRaces");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Favourites.Favourite", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("AppUserId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Key")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Table")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("Favourites");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Messages.Conversation", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "created");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("HasUnreadMessages")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "hasUnreadMessages");
+
+ b.Property("LastMessageId")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "lastMessageId");
+
+ b.Property("LastMessagePreview")
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "lastMessagePreview");
+
+ b.Property("ReceipientType")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "receipientType");
+
+ b.Property("Recipient")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "recipient");
+
+ b.Property("RecipientName")
+ .HasMaxLength(300)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "recipientName");
+
+ b.Property("RecipientPhoto")
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "recipientPhoto");
+
+ b.Property("RecipientShort")
+ .HasMaxLength(2)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "recipientShort");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("Conversations");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Messages.Message", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Content")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("ConversationId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Direction")
+ .HasColumnType("INTEGER");
+
+ b.Property("Read")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ConversationId");
+
+ b.ToTable("Messages");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Messages.SystemMessage", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("AppUserId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("AppUserType")
+ .HasColumnType("INTEGER");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Expires")
+ .HasColumnType("INTEGER");
+
+ b.Property("Key")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Message")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("Read")
+ .HasColumnType("INTEGER");
+
+ b.Property("ReadDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Table")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("Type")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("SystemMessages");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.News.NewsCategory", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Description")
+ .HasColumnType("TEXT");
+
+ b.Property("Image")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("ImageLanguage")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("Language")
+ .IsRequired()
+ .HasMaxLength(2)
+ .HasColumnType("TEXT");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(100)
+ .HasColumnType("TEXT");
+
+ b.Property("OnlineStatus")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("NewsCategories");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Payment.Payout", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Ammount")
+ .HasColumnType("INTEGER");
+
+ b.Property("AppUserId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Bic")
+ .HasMaxLength(4)
+ .HasColumnType("TEXT");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Currency")
+ .IsRequired()
+ .HasMaxLength(3)
+ .HasColumnType("TEXT");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("ExecutionDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Iban")
+ .IsRequired()
+ .HasMaxLength(4)
+ .HasColumnType("TEXT");
+
+ b.Property("MangoPayBankId")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("MangoPayId")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("MangoPayUserId")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("MangoPayWalletId")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("RefundReasonMessage")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("RefundReasonType")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("Refunded")
+ .HasColumnType("INTEGER");
+
+ b.Property("ResultCode")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("ResultMessage")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("Status")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.Property("WalletId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.HasKey("Id");
+
+ b.ToTable("Payouts");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Payment.TransactionFee", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("Fixed")
+ .HasColumnType("TEXT");
+
+ b.Property("PayInType")
+ .HasColumnType("INTEGER");
+
+ b.Property("Percent")
+ .HasColumnType("TEXT");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("TransactionFees");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Users.AppUser", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("AutoPayout")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "autoPayout");
+
+ b.Property("BankId")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "bankId");
+
+ b.Property("BirthDate")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "birthDate");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "created");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("FirstName")
+ .IsRequired()
+ .HasMaxLength(150)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "firstName");
+
+ b.Property("KycPassed")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "kycPassed");
+
+ b.Property("KycPassedDate")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "kycPassedDate");
+
+ b.Property("LastName")
+ .IsRequired()
+ .HasMaxLength(150)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "lastName");
+
+ b.Property("Lat")
+ .HasColumnType("REAL")
+ .HasAnnotation("Relational:JsonPropertyName", "lat");
+
+ b.Property("Lng")
+ .HasColumnType("REAL")
+ .HasAnnotation("Relational:JsonPropertyName", "lng");
+
+ b.Property("Locked")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "locked");
+
+ b.Property("LockedUntil")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "lockedUntil");
+
+ b.Property("MainResidenceCode")
+ .HasMaxLength(2)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "mainResidenceCode");
+
+ b.Property("NationalityCode")
+ .HasMaxLength(2)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "nationalityCode");
+
+ b.Property("PaymentId")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "paymentId");
+
+ b.Property("PaymentTermsAccepted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "paymentTermsAccepted");
+
+ b.Property("PaymentTermsAcceptedDate")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "paymentTermsAcceptedDate");
+
+ b.Property("Photo")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "photo");
+
+ b.Property("PrivacyAccepted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "privacyAccepted");
+
+ b.Property("PrivacyAcceptedDate")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "privacyAcceptedDate");
+
+ b.Property("Sex")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "sex");
+
+ b.Property("TermsAccepted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "termsAccepted");
+
+ b.Property("TermsAcceptedDate")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "termsAcceptedDate");
+
+ b.Property("Title")
+ .HasMaxLength(50)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "title");
+
+ b.Property("Type")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "type");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Verified")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "verified");
+
+ b.Property("VerifiedDate")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "verifiedDate");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("AppUsers");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Users.DogWalkerProfile", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("About")
+ .HasMaxLength(300)
+ .HasColumnType("TEXT");
+
+ b.Property("AcceptedSize")
+ .HasColumnType("INTEGER");
+
+ b.Property("AggressionLevel")
+ .HasColumnType("INTEGER");
+
+ b.Property("AllowedRequests")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("DifficultAllowed")
+ .HasColumnType("INTEGER");
+
+ b.Property("NotAvailable")
+ .HasColumnType("INTEGER");
+
+ b.Property("NotAvailableInfo")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("PriceDay")
+ .HasColumnType("TEXT");
+
+ b.Property("PriceSitting")
+ .HasColumnType("TEXT");
+
+ b.Property("PriceWalk")
+ .HasColumnType("TEXT");
+
+ b.Property("PuppyAllowed")
+ .HasColumnType("INTEGER");
+
+ b.Property("Radius")
+ .HasColumnType("REAL");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("DogWalkerProfiles");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Users.User", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("AccessTokenExpires")
+ .HasColumnType("INTEGER");
+
+ b.Property("AppUserId")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("FirstName")
+ .IsRequired()
+ .HasMaxLength(150)
+ .HasColumnType("TEXT");
+
+ b.Property("LastLoginDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("LastName")
+ .IsRequired()
+ .HasMaxLength(150)
+ .HasColumnType("TEXT");
+
+ b.Property("Photo")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("RefreshTokenExpires")
+ .HasColumnType("INTEGER");
+
+ b.Property("RegistrationDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Roles")
+ .HasMaxLength(255)
+ .HasColumnType("TEXT");
+
+ b.Property("UserName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("TEXT");
+
+ b.HasKey("Id");
+
+ b.ToTable("Users");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Walkers.WalkingTime", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Day")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("DogWalkerId")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("Enabled")
+ .HasColumnType("INTEGER");
+
+ b.Property("End")
+ .HasColumnType("INTEGER");
+
+ b.Property("Start")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("WalkingTimes");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Walks.PublicWalkRequest", b =>
+ {
+ b.Property("Id")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT")
+ .HasAnnotation("Relational:JsonPropertyName", "id");
+
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "deleted");
+
+ b.Property("DogCount")
+ .HasColumnType("INTEGER");
+
+ b.Property("DogId")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("DogOwnerId")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("DogWalkerId")
+ .HasMaxLength(128)
+ .HasColumnType("TEXT");
+
+ b.Property("DogsJson")
+ .HasColumnType("TEXT");
+
+ b.Property("EndDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Exclusive")
+ .HasColumnType("INTEGER");
+
+ b.Property("ExpirationDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Info")
+ .HasMaxLength(500)
+ .HasColumnType("TEXT");
+
+ b.Property("Lat")
+ .HasColumnType("REAL")
+ .HasAnnotation("Relational:JsonPropertyName", "lat");
+
+ b.Property("Lng")
+ .HasColumnType("REAL")
+ .HasAnnotation("Relational:JsonPropertyName", "lng");
+
+ b.Property("PlacedDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Price")
+ .HasColumnType("TEXT");
+
+ b.Property("PublicWalkResponseId")
+ .HasColumnType("TEXT");
+
+ b.Property("RequestType")
+ .HasColumnType("INTEGER");
+
+ b.Property("ResponseCount")
+ .HasColumnType("INTEGER");
+
+ b.Property("StartDate")
+ .HasColumnType("INTEGER");
+
+ b.Property("Status")
+ .HasColumnType("INTEGER");
+
+ b.Property("UpdatedAt")
+ .HasColumnType("INTEGER")
+ .HasAnnotation("Relational:JsonPropertyName", "updatedAt");
+
+ b.Property("Version")
+ .IsConcurrencyToken()
+ .ValueGeneratedOnAddOrUpdate()
+ .HasColumnType("BLOB")
+ .HasAnnotation("Relational:JsonPropertyName", "version");
+
+ b.HasKey("Id");
+
+ b.ToTable("PublicWalkRequests");
+ });
+
+ modelBuilder.Entity("gehGassiApp.Domain.Walks.PublicWalkRequestWithNames", b =>
+ {
+ b.Property("Created")
+ .HasColumnType("INTEGER");
+
+ b.Property("Deleted")
+ .HasColumnType("INTEGER");
+
+ b.Property("DogCount")
+ .HasColumnType("INTEGER");
+
+ b.Property("DogId")
+ .HasColumnType("TEXT");
+
+ b.Property("DogName")
+ .HasColumnType("TEXT");
+
+ b.Property("DogOwnerId")
+ .HasColumnType("TEXT");
+
+ b.Property("DogPhoto")
+ .HasColumnType("TEXT");
+
+ b.Property("DogWalkerId")
+ .HasColumnType("TEXT");
+
+ b.Property