// 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("20221103092446_DogWalkerProfileNotAvailableAdded")] partial class DogWalkerProfileNotAvailableAdded { protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "6.0.10"); 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"); 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"); 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"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); 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"); 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"); 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"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("DogRaces"); }); modelBuilder.Entity("gehGassiApp.Domain.Messages.Conversation", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Created") .HasColumnType("INTEGER"); b.Property("Deleted") .HasColumnType("INTEGER"); b.Property("HasUnreadMessages") .HasColumnType("INTEGER"); b.Property("LastMessageId") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("LastMessagePreview") .HasColumnType("TEXT"); b.Property("ReceipientType") .HasColumnType("INTEGER"); b.Property("Recipient") .IsRequired() .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("RecipientName") .HasMaxLength(300) .HasColumnType("TEXT"); b.Property("RecipientPhoto") .HasColumnType("TEXT"); b.Property("RecipientShort") .HasMaxLength(2) .HasColumnType("TEXT"); b.Property("UpdatedAt") .HasColumnType("INTEGER"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("Conversations"); }); modelBuilder.Entity("gehGassiApp.Domain.Messages.Message", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Content") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("ConversationId") .IsRequired() .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Deleted") .HasColumnType("INTEGER"); b.Property("Direction") .HasColumnType("INTEGER"); b.Property("Read") .HasColumnType("INTEGER"); b.Property("UpdatedAt") .HasColumnType("INTEGER"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.HasIndex("ConversationId"); b.ToTable("Messages"); }); modelBuilder.Entity("gehGassiApp.Domain.News.NewsCategory", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Created") .HasColumnType("INTEGER"); b.Property("Deleted") .HasColumnType("INTEGER"); 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"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("NewsCategories"); }); modelBuilder.Entity("gehGassiApp.Domain.Users.AppUser", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("BirthDate") .HasColumnType("INTEGER"); b.Property("Created") .HasColumnType("INTEGER"); b.Property("Deleted") .HasColumnType("INTEGER"); b.Property("FirstName") .IsRequired() .HasMaxLength(150) .HasColumnType("TEXT"); b.Property("LastName") .IsRequired() .HasMaxLength(150) .HasColumnType("TEXT"); b.Property("Lat") .HasColumnType("REAL"); b.Property("Lng") .HasColumnType("REAL"); b.Property("Locked") .HasColumnType("INTEGER"); b.Property("LockedUntil") .HasColumnType("INTEGER"); b.Property("Photo") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("Sex") .HasColumnType("INTEGER"); b.Property("Title") .HasMaxLength(50) .HasColumnType("TEXT"); b.Property("Type") .HasColumnType("INTEGER"); b.Property("UpdatedAt") .HasColumnType("INTEGER"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("AppUsers"); }); modelBuilder.Entity("gehGassiApp.Domain.Users.DogWalkerProfile", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); 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"); 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"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); 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"); b.Property("Day") .HasColumnType("INTEGER"); b.Property("Deleted") .HasColumnType("INTEGER"); 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"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("WalkingTimes"); }); modelBuilder.Entity("gehGassiApp.Domain.Walks.PublicWalkRequest", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Created") .HasColumnType("INTEGER"); b.Property("Deleted") .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("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"); b.Property("Lng") .HasColumnType("REAL"); 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"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); 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("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("EndDate") .HasColumnType("INTEGER"); b.Property("Exclusive") .HasColumnType("INTEGER"); b.Property("ExpirationDate") .HasColumnType("INTEGER"); b.Property("Id") .HasColumnType("TEXT"); b.Property("Info") .HasColumnType("TEXT"); b.Property("Lat") .HasColumnType("REAL"); b.Property("Lng") .HasColumnType("REAL"); b.Property("PickupAddress_AddressLine1") .HasColumnType("TEXT"); b.Property("PickupAddress_AddressLine2") .HasColumnType("TEXT"); b.Property("PickupAddress_City") .HasColumnType("TEXT"); b.Property("PickupAddress_CountryCode") .HasColumnType("TEXT"); b.Property("PickupAddress_State") .HasColumnType("TEXT"); b.Property("PickupAddress_Zip") .HasColumnType("TEXT"); 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"); b.Property("Version") .HasColumnType("BLOB"); b.ToView("vw_PublicWalkRequestWithNames"); }); modelBuilder.Entity("gehGassiApp.Domain.Walks.PublicWalkResponse", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Answer") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("CancellationReason") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("Created") .HasColumnType("INTEGER"); b.Property("Deleted") .HasColumnType("INTEGER"); b.Property("DogWalkerId") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Info") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("Price") .HasColumnType("TEXT"); b.Property("PublicWalkRequestId") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("Status") .HasColumnType("INTEGER"); b.Property("UpdatedAt") .HasColumnType("INTEGER"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("PublicWalkResponses"); }); modelBuilder.Entity("gehGassiApp.Domain.Walks.Walk", b => { b.Property("Id") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("CancelledBy") .HasColumnType("INTEGER"); b.Property("CancelledReason") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("Completed") .HasColumnType("INTEGER"); b.Property("CompletedInfo") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("Created") .HasColumnType("INTEGER"); b.Property("DeclinedReason") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("Defactation") .HasColumnType("INTEGER"); b.Property("Deleted") .HasColumnType("INTEGER"); b.Property("DogCount") .HasColumnType("INTEGER"); b.Property("DogOwnerId") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("DogWalkerId") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("DogsJson") .HasColumnType("TEXT"); b.Property("End") .HasColumnType("INTEGER"); b.Property("Info") .HasMaxLength(500) .HasColumnType("TEXT"); b.Property("PaymentStatus") .HasColumnType("INTEGER"); b.Property("PickupAddressLat") .HasColumnType("REAL"); b.Property("PickupAddressLng") .HasColumnType("REAL"); b.Property("Price") .HasColumnType("TEXT"); b.Property("PublicWalkRequestId") .HasMaxLength(128) .HasColumnType("TEXT"); b.Property("ReturnAddressLat") .HasColumnType("REAL"); b.Property("ReturnAddressLng") .HasColumnType("REAL"); b.Property("ServiceType") .HasColumnType("INTEGER"); b.Property("Start") .HasColumnType("INTEGER"); b.Property("Started") .HasColumnType("INTEGER"); b.Property("Status") .HasColumnType("INTEGER"); b.Property("Type") .HasColumnType("INTEGER"); b.Property("UpdatedAt") .HasColumnType("INTEGER"); b.Property("Version") .IsConcurrencyToken() .ValueGeneratedOnAddOrUpdate() .HasColumnType("BLOB"); b.HasKey("Id"); b.ToTable("Walks"); }); modelBuilder.Entity("gehGassiApp.Domain.Dogs.Dog", b => { b.HasOne("gehGassiApp.Domain.Dogs.DogRace", null) .WithMany() .HasForeignKey("DogRaceId"); b.OwnsOne("gehGassiApp.Domain.Common.RatingStatistics", "RatingStatistics", b1 => { b1.Property("DogId") .HasColumnType("TEXT"); b1.Property("AverageRating") .HasColumnType("TEXT"); b1.Property("TotalPoints") .HasColumnType("TEXT"); b1.Property("TotalRatings") .HasColumnType("INTEGER"); b1.HasKey("DogId"); b1.ToTable("Dogs"); b1.WithOwner() .HasForeignKey("DogId"); }); b.Navigation("RatingStatistics"); }); modelBuilder.Entity("gehGassiApp.Domain.Messages.Message", b => { b.HasOne("gehGassiApp.Domain.Messages.Conversation", null) .WithMany() .HasForeignKey("ConversationId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("gehGassiApp.Domain.Users.AppUser", b => { b.OwnsOne("gehGassiApp.Domain.Common.ContactMin", "Contact", b1 => { b1.Property("AppUserId") .HasColumnType("TEXT"); b1.Property("Email") .IsRequired() .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Mobile") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("Phone") .HasMaxLength(100) .HasColumnType("TEXT"); b1.HasKey("AppUserId"); b1.ToTable("AppUsers"); b1.WithOwner() .HasForeignKey("AppUserId"); }); b.OwnsOne("gehGassiApp.Domain.Common.SocialMedia", "SocialMedia", b1 => { b1.Property("AppUserId") .HasColumnType("TEXT"); b1.Property("Blog") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Facebook") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Instagram") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("LinkedIn") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Pinterest") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Reddit") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Show") .HasColumnType("INTEGER"); b1.Property("SnapChat") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("TikTok") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Twitter") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Vimeo") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("Xing") .HasMaxLength(255) .HasColumnType("TEXT"); b1.Property("YouTube") .HasMaxLength(255) .HasColumnType("TEXT"); b1.HasKey("AppUserId"); b1.ToTable("AppUsers"); b1.WithOwner() .HasForeignKey("AppUserId"); }); b.OwnsOne("gehGassiApp.Domain.Common.Address", "Address", b1 => { b1.Property("AppUserId") .HasColumnType("TEXT"); b1.Property("AddressLine1") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("AddressLine2") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("City") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("CountryCode") .IsRequired() .HasMaxLength(2) .HasColumnType("TEXT"); b1.Property("State") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("Zip") .HasMaxLength(20) .HasColumnType("TEXT"); b1.HasKey("AppUserId"); b1.ToTable("AppUsers"); b1.WithOwner() .HasForeignKey("AppUserId"); }); b.OwnsOne("gehGassiApp.Domain.Common.RatingStatistics", "RatingStatistics", b1 => { b1.Property("AppUserId") .HasColumnType("TEXT"); b1.Property("AverageRating") .HasColumnType("TEXT"); b1.Property("TotalPoints") .HasColumnType("TEXT"); b1.Property("TotalRatings") .HasColumnType("INTEGER"); b1.HasKey("AppUserId"); b1.ToTable("AppUsers"); b1.WithOwner() .HasForeignKey("AppUserId"); }); b.OwnsOne("gehGassiApp.Domain.Common.RatingStatistics", "RatingStatisticsWalker", b1 => { b1.Property("AppUserId") .HasColumnType("TEXT"); b1.Property("AverageRating") .HasColumnType("TEXT"); b1.Property("TotalPoints") .HasColumnType("TEXT"); b1.Property("TotalRatings") .HasColumnType("INTEGER"); b1.HasKey("AppUserId"); b1.ToTable("AppUsers"); b1.WithOwner() .HasForeignKey("AppUserId"); }); b.Navigation("Address"); b.Navigation("Contact"); b.Navigation("RatingStatistics"); b.Navigation("RatingStatisticsWalker"); b.Navigation("SocialMedia"); }); modelBuilder.Entity("gehGassiApp.Domain.Walks.PublicWalkRequest", b => { b.OwnsOne("gehGassiApp.Domain.Common.Address", "PickupAddress", b1 => { b1.Property("PublicWalkRequestId") .HasColumnType("TEXT"); b1.Property("AddressLine1") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("AddressLine2") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("City") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("CountryCode") .IsRequired() .HasMaxLength(2) .HasColumnType("TEXT"); b1.Property("State") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("Zip") .HasMaxLength(20) .HasColumnType("TEXT"); b1.HasKey("PublicWalkRequestId"); b1.ToTable("PublicWalkRequests"); b1.WithOwner() .HasForeignKey("PublicWalkRequestId"); }); b.Navigation("PickupAddress"); }); modelBuilder.Entity("gehGassiApp.Domain.Walks.Walk", b => { b.OwnsOne("gehGassiApp.Domain.Common.Address", "PickupAddress", b1 => { b1.Property("WalkId") .HasColumnType("TEXT"); b1.Property("AddressLine1") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("AddressLine2") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("City") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("CountryCode") .IsRequired() .HasMaxLength(2) .HasColumnType("TEXT"); b1.Property("State") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("Zip") .HasMaxLength(20) .HasColumnType("TEXT"); b1.HasKey("WalkId"); b1.ToTable("Walks"); b1.WithOwner() .HasForeignKey("WalkId"); }); b.OwnsOne("gehGassiApp.Domain.Common.Address", "ReturnAddress", b1 => { b1.Property("WalkId") .HasColumnType("TEXT"); b1.Property("AddressLine1") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("AddressLine2") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("City") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("CountryCode") .IsRequired() .HasMaxLength(2) .HasColumnType("TEXT"); b1.Property("State") .HasMaxLength(100) .HasColumnType("TEXT"); b1.Property("Zip") .HasMaxLength(20) .HasColumnType("TEXT"); b1.HasKey("WalkId"); b1.ToTable("Walks"); b1.WithOwner() .HasForeignKey("WalkId"); }); b.Navigation("PickupAddress"); b.Navigation("ReturnAddress"); }); #pragma warning restore 612, 618 } } }