// using System; using ODMO.Infrastructure; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace ODMO.Infrastructure.Migrations { [DbContext(typeof(DatabaseContext))] [Migration("20241023212111_UpdateEncyclopedia")] partial class UpdateEncyclopedia { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "7.0.5") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountBlockDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccountId") .HasColumnType("bigint"); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Reason") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("StartDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("AccountId") .IsUnique(); b.ToTable("AccountBlock", "Account"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccessLevel") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CreateDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("DiscordId") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("Email") .IsRequired() .HasMaxLength(150) .HasColumnType("varchar"); b.Property("LastConnection") .HasColumnType("datetime2"); b.Property("LastPlayedCharacter") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("LastPlayedServer") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("MembershipExpirationDate") .HasColumnType("datetime2"); b.Property("Password") .IsRequired() .HasMaxLength(250) .HasColumnType("varchar"); b.Property("Premium") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ReceiveWelcome") .HasColumnType("bit"); b.Property("SecondaryPassword") .HasMaxLength(250) .HasColumnType("varchar"); b.Property("Silk") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Username") .IsRequired() .HasMaxLength(20) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("Account", "Account"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Account.LoginTryDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Date") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Ip") .IsRequired() .HasMaxLength(30) .HasColumnType("varchar"); b.Property("Result") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4); b.Property("Username") .IsRequired() .HasMaxLength(20) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("LoginTry", "Security"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Account.SystemInformationDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccountId") .HasColumnType("bigint"); b.Property("Cpu") .HasMaxLength(50) .HasColumnType("varchar"); b.Property("Gpu") .HasMaxLength(50) .HasColumnType("varchar"); b.Property("Ip") .HasMaxLength(30) .HasColumnType("varchar"); b.HasKey("Id"); b.HasIndex("AccountId") .IsUnique(); b.ToTable("SystemInformation", "Account"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("RerollAmount") .HasColumnType("int"); b.Property("StatusAmount") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("AccessoryRoll", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollStatusAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccessoryRollAssetId") .HasColumnType("bigint"); b.Property("MaxValue") .HasColumnType("int"); b.Property("MinValue") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("AccessoryRollAssetId"); b.ToTable("AccessoryRollStatus", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.Property("RequiredCoins") .HasColumnType("tinyint"); b.Property("RewardId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("RewardId"); b.ToTable("ArenaDailyItemReward", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardsDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("WeekDay") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("ArenaDailyItemRewards", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.BuffAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BuffId") .HasColumnType("int"); b.Property("Class") .HasColumnType("smallint"); b.Property("ConditionLevel") .HasColumnType("int"); b.Property("DigimonSkillCode") .HasColumnType("int"); b.Property("LifeType") .HasColumnType("int"); b.Property("MinLevel") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SkillCode") .HasColumnType("int"); b.Property("TimeType") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Buff", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CharacterBaseStatusAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Type") .HasColumnType("int"); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("CharacterBaseStatus", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CharacterLevelStatusAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ExpValue") .HasColumnType("bigint"); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(80001); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("CharacterLevelStatus", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CloneAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Bits") .HasColumnType("bigint"); b.Property("ItemSection") .HasColumnType("int"); b.Property("MaxLevel") .HasColumnType("tinyint"); b.Property("MinLevel") .HasColumnType("tinyint"); b.HasKey("Id"); b.ToTable("Clone", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CloneValueAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MaxLevel") .HasColumnType("tinyint"); b.Property("MaxValue") .HasColumnType("int"); b.Property("MinLevel") .HasColumnType("tinyint"); b.Property("MinValue") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("CloneValue", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("ItemName") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("RewardAmount") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Container", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerRewardAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("ContainerAssetId") .HasColumnType("bigint"); b.Property("ItemId") .HasColumnType("int"); b.Property("ItemName") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("MaxAmount") .HasColumnType("int"); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Rare") .HasColumnType("bit"); b.HasKey("Id"); b.HasIndex("ContainerAssetId"); b.ToTable("ContainerReward", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DigimonBaseInfoAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Attribute") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Element") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EvolutionType") .HasColumnType("int"); b.Property("Family1") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family2") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family3") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Model") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("ScaleType") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("Type") .HasColumnType("int"); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("DigimonBaseInfo", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DigimonLevelStatusAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ExpValue") .HasColumnType("bigint"); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ScaleType") .HasColumnType("int"); b.Property("StatusId") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("DigimonLevelStatus", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DigimonSkillAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("SkillId") .HasColumnType("int"); b.Property("Slot") .HasColumnType("tinyint"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("DigimonSkill", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionArmorAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("Chance") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("EvolutionArmor", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("EvolutionRank") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Evolution", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionLineAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("EvolutionId") .HasColumnType("bigint"); b.Property("RequiredAmount") .HasColumnType("int"); b.Property("RequiredItem") .HasColumnType("int"); b.Property("SlotLevel") .HasColumnType("tinyint"); b.Property("Type") .HasColumnType("int"); b.Property("UnlockItemSection") .HasColumnType("int"); b.Property("UnlockItemSectionAmount") .HasColumnType("int"); b.Property("UnlockLevel") .HasColumnType("tinyint"); b.Property("UnlockQuestId") .HasColumnType("smallint"); b.HasKey("Id"); b.HasIndex("EvolutionId"); b.ToTable("EvolutionLine", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionStageAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("EvolutionLineId") .HasColumnType("bigint"); b.Property("Type") .HasColumnType("int"); b.Property("Value") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("EvolutionLineId"); b.ToTable("EvolutionStage", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DigimonId") .HasColumnType("int"); b.Property("ExtraInfoId") .HasColumnType("bigint"); b.Property("Price") .HasColumnType("bigint"); b.Property("RequiredLevel") .HasColumnType("tinyint"); b.HasKey("Id"); b.HasIndex("ExtraInfoId"); b.ToTable("ExtraEvolution", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionInformationAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ExtraNpcId") .HasColumnType("bigint"); b.Property("IndexId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("ExtraNpcId"); b.ToTable("ExtraEvolutionInformation", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionMaterialAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("ExtraEvolutionId") .HasColumnType("bigint"); b.Property("ItemId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("ExtraEvolutionId"); b.ToTable("ExtraEvolutionMaterial", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionNpcAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("NpcId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("ExtraEvolutionNpc", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionRequiredAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("ExtraEvolutionId") .HasColumnType("bigint"); b.Property("ItemId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("ExtraEvolutionId"); b.ToTable("ExtraEvolutionRequired", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .HasColumnType("smallint"); b.Property("GotchaId") .HasColumnType("int"); b.Property("Limit") .HasColumnType("smallint"); b.Property("MaxLv") .HasColumnType("smallint"); b.Property("MinLv") .HasColumnType("smallint"); b.Property("NpcId") .HasColumnType("int"); b.Property("RareItemCnt") .HasColumnType("smallint"); b.Property("UseCount") .HasColumnType("int"); b.Property("UseItem") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Gotcha", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaItemsAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("GotchaId") .HasColumnType("int"); b.Property("InitialQuanty") .HasColumnType("int"); b.Property("ItemCount") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasColumnType("text"); b.Property("Quanty") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("GotchaId"); b.ToTable("GotchaItems", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaRareItemsAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("GotchaId") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasColumnType("text"); b.Property("RareItem") .HasColumnType("int"); b.Property("RareItemCnt") .HasColumnType("smallint"); b.Property("RareItemGive") .HasColumnType("smallint"); b.HasKey("Id"); b.HasIndex("GotchaId"); b.ToTable("GotchaRareItems", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.HatchAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("HatchType") .HasColumnType("int"); b.Property("LowClassDataSection") .HasColumnType("int"); b.Property("MidClassDataSection") .HasColumnType("int"); b.Property("LowClassDataAmount") .HasColumnType("int"); b.Property("MidClassDataAmount") .HasColumnType("int"); b.Property("LowClassLimitLevel") .HasColumnType("int"); b.Property("MidClassLimitLevel") .HasColumnType("int"); b.Property("LowClassBreakPoint") .HasColumnType("int"); b.Property("MidClassBreakPoint") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Hatch", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ItemAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ApplyElement") .HasColumnType("smallint"); b.Property("ApplyValueMax") .HasColumnType("smallint"); b.Property("ApplyValueMin") .HasColumnType("smallint"); b.Property("BoundType") .HasColumnType("int"); b.Property("Class") .HasColumnType("int"); b.Property("DigicorePrice") .HasColumnType("int"); b.Property("DigimonMaxLevel") .HasColumnType("tinyint"); b.Property("DigimonMinLevel") .HasColumnType("tinyint"); b.Property("EventPriceAmount") .HasColumnType("int"); b.Property("EventPriceId") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("Overlap") .HasColumnType("smallint"); b.Property("ScanPrice") .HasColumnType("int"); b.Property("Section") .HasColumnType("int"); b.Property("SellPrice") .HasColumnType("bigint"); b.Property("SellType") .HasColumnType("int"); b.Property("SkillCode") .HasColumnType("bigint"); b.Property("TamerMaxLevel") .HasColumnType("tinyint"); b.Property("TamerMinLevel") .HasColumnType("tinyint"); b.Property("Target") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Type") .HasColumnType("int"); b.Property("TypeN") .HasColumnType("int"); b.Property("UsageTimeMinutes") .HasColumnType("int"); b.Property("UseTimeType") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("ItemInfo", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ItemCraftAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.Property("NpcId") .HasColumnType("int"); b.Property("Price") .HasColumnType("bigint"); b.Property("SequencialId") .HasColumnType("int"); b.Property("SuccessRate") .HasColumnType("tinyint"); b.HasKey("Id"); b.ToTable("ItemCraft", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ItemCraftMaterialAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("ItemCraftId") .HasColumnType("bigint"); b.Property("ItemId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("ItemCraftId"); b.ToTable("ItemCraftMaterial", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MapAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MapId") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("RegionIndex") .HasColumnType("tinyint"); b.HasKey("Id"); b.ToTable("Map", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MapRegionAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Index") .HasColumnType("tinyint"); b.Property("MapRegionListId") .HasColumnType("bigint"); b.Property("Name") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("X") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(6500); b.Property("Y") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(6500); b.HasKey("Id"); b.HasIndex("MapRegionListId"); b.ToTable("MapRegion", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MapRegionListAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MapId") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("MapRegionList", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MonsterBaseInfoAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Attribute") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Class") .HasColumnType("int"); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Element") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family1") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family2") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family3") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HuntRange") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Model") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("ReactionType") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("Type") .HasColumnType("int"); b.Property("ViewRange") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("MonsterBaseInfo", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MonsterSkillAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("SkillId") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("MonsterSkill", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MonsterSkillInfoAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ActiveType") .HasColumnType("tinyint"); b.Property("AnimationDelay") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("CastingTime") .HasColumnType("int"); b.Property("Cooldown") .HasColumnType("int"); b.Property("MaxValue") .HasColumnType("int"); b.Property("MinValue") .HasColumnType("int"); b.Property("NoticeTime") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("RangeId") .HasColumnType("int"); b.Property("SkillId") .HasColumnType("int"); b.Property("SkillType") .HasColumnType("int"); b.Property("TargetCount") .HasColumnType("tinyint"); b.Property("TargetMax") .HasColumnType("tinyint"); b.Property("TargetMin") .HasColumnType("tinyint"); b.Property("Type") .HasColumnType("int"); b.Property("UseTerms") .HasColumnType("tinyint"); b.HasKey("Id"); b.ToTable("MonsterSkillInfo", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MonthlyEventAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CurrentDay") .HasColumnType("int"); b.Property("ItemCount") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("MonthlyEvent", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MapId") .HasColumnType("int"); b.Property("NpcId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Npc", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcColiseumAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("NpcId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("NpcColiseum", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcItemAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("NpcAssetId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("NpcAssetId"); b.ToTable("NpcItem", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcMobInfoAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("LosePoints") .HasColumnType("int"); b.Property("NpcAssetId") .HasColumnType("bigint"); b.Property("Round") .HasColumnType("int"); b.Property("SummonType") .HasColumnType("int"); b.Property("WinPoints") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("NpcAssetId"); b.ToTable("NpcMobInfo", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("NpcAssetId") .HasColumnType("bigint"); b.Property("PortalCount") .HasColumnType("int"); b.Property("PortalType") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("NpcAssetId"); b.ToTable("NpcPortal", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalsAmountAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("NpcAssetId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("NpcAssetId"); b.ToTable("NpcPortalsAmount", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalsAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("NpcAssetId") .HasColumnType("bigint"); b.Property("ResourceAmount") .HasColumnType("int"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("NpcAssetId"); b.ToTable("NpcPortals", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.PortalAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DestinationMapId") .HasColumnType("int"); b.Property("DestinationX") .HasColumnType("int"); b.Property("DestinationY") .HasColumnType("int"); b.Property("IsLocal") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); b.Property("NpcId") .HasColumnType("int"); b.Property("PortalIndex") .HasColumnType("int"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("Portal", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("QuestId") .HasColumnType("int"); b.Property("QuestType") .HasColumnType("int"); b.Property("TargetType") .HasColumnType("int"); b.Property("TargetValue") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Quest", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestConditionAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ConditionCount") .HasColumnType("int"); b.Property("ConditionId") .HasColumnType("int"); b.Property("ConditionType") .HasColumnType("int"); b.Property("QuestId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("QuestId"); b.ToTable("QuestCondition", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestEventAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("EventId") .HasColumnType("int"); b.Property("QuestId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("QuestId"); b.ToTable("QuestEvent", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestGoalAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CurTypeCount") .HasColumnType("int"); b.Property("GoalAmount") .HasColumnType("int"); b.Property("GoalId") .HasColumnType("int"); b.Property("GoalType") .HasColumnType("int"); b.Property("QuestId") .HasColumnType("bigint"); b.Property("SubValue") .HasColumnType("int"); b.Property("SubValueTwo") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("QuestId"); b.ToTable("QuestGoal", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestRewardAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("QuestId") .HasColumnType("bigint"); b.Property("Reward") .HasColumnType("int"); b.Property("RewardType") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("QuestId"); b.ToTable("QuestReward", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestRewardObjectAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("QuestRewardId") .HasColumnType("bigint"); b.Property("Reward") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("QuestRewardId"); b.ToTable("QuestRewardObject", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestSupplyAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.Property("QuestId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("QuestId"); b.ToTable("QuestSupply", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ScanDetailAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("ItemName") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.HasKey("Id"); b.ToTable("ScanDetail", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ScanRewardDetailAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("ItemId") .HasColumnType("int"); b.Property("ItemName") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("MaxAmount") .HasColumnType("int"); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Rare") .HasColumnType("bit"); b.Property("ScanDetailAssetId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("ScanDetailAssetId"); b.ToTable("ScanRewardDetail", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.SealDetailAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("RequiredAmount") .HasColumnType("smallint"); b.Property("SealId") .HasColumnType("int"); b.Property("SequentialId") .HasColumnType("smallint"); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("SealDetail", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.SkillCodeApplyAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AdditionalValue") .HasColumnType("int"); b.Property("Attribute") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(20); b.Property("Chance") .HasColumnType("int"); b.Property("IncreaseValue") .HasColumnType("int"); b.Property("SkillCodeAssetId") .HasColumnType("int"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(101); b.Property("Value") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("SkillCodeAssetId"); b.ToTable("SkillCodeApply", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.SkillCodeAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Comment") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("SkillCode") .HasColumnType("bigint"); b.HasKey("Id"); b.ToTable("SkillCode", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.SkillInfoAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AoEMaxDamage") .HasColumnType("int"); b.Property("AoEMinDamage") .HasColumnType("int"); b.Property("AreaOfEffect") .HasColumnType("int"); b.Property("CastingTime") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("Cooldown") .HasColumnType("int"); b.Property("DSUsage") .HasColumnType("int"); b.Property("Description") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("FamilyType") .HasColumnType("tinyint"); b.Property("FirstConditionCode") .HasColumnType("int"); b.Property("HPUsage") .HasColumnType("int"); b.Property("MaxLevel") .HasColumnType("tinyint"); b.Property("MemoryChips") .HasColumnType("tinyint"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("Range") .HasColumnType("int"); b.Property("RequiredPoints") .HasColumnType("tinyint"); b.Property("SecondConditionCode") .HasColumnType("int"); b.Property("SkillId") .HasColumnType("int"); b.Property("SkillType") .HasColumnType("int"); b.Property("Target") .HasColumnType("tinyint"); b.Property("ThirdConditionCode") .HasColumnType("int"); b.Property("Type") .HasColumnType("int"); b.Property("UnlockLevel") .HasColumnType("tinyint"); b.Property("Value") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("SkillInfo", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.StatusApplyAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ApplyValue") .HasColumnType("int"); b.Property("StageValue") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("StatusApply", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.TamerSkillAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Duration") .HasColumnType("int"); b.Property("SkillCode") .HasColumnType("int"); b.Property("SkillId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("TamerSkill", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.TitleStatusAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("AchievementId") .HasColumnType("int"); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DASCD") .HasColumnType("numeric"); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("FISCD") .HasColumnType("numeric"); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ICSCD") .HasColumnType("numeric"); b.Property("ItemId") .HasColumnType("int"); b.Property("LASCD") .HasColumnType("numeric"); b.Property("LISCD") .HasColumnType("numeric"); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("NESCD") .HasColumnType("numeric"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("SCD") .HasColumnType("numeric"); b.Property("STSCD") .HasColumnType("numeric"); b.Property("THSCD") .HasColumnType("numeric"); b.Property("WASCD") .HasColumnType("numeric"); b.Property("WISCD") .HasColumnType("numeric"); b.Property("WOSCD") .HasColumnType("numeric"); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("TitleStatus", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.XaiAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("XCrystals") .HasColumnType("smallint"); b.Property("XGauge") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Xai", "Asset"); b.HasData( new { Id = 1L, ItemId = 40017, XCrystals = (short)3, XGauge = 2000 }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemAccessoryStatusDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("ItemId") .HasColumnType("uniqueidentifier"); b.Property("Slot") .HasColumnType("tinyint"); b.Property("Type") .HasColumnType("smallint"); b.Property("Value") .HasColumnType("smallint"); b.HasKey("Id"); b.HasIndex("ItemId"); b.ToTable("ItemAccessoryStatus", "Shared"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("Amount") .HasColumnType("int"); b.Property("Duration") .HasColumnType("int"); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("FamilyType") .HasColumnType("tinyint"); b.Property("FirstExpired") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(true); b.Property("ItemId") .HasColumnType("int"); b.Property("ItemListId") .HasColumnType("bigint"); b.Property("Power") .HasColumnType("tinyint"); b.Property("RerollLeft") .HasColumnType("tinyint"); b.Property("Slot") .HasColumnType("int"); b.Property("TamerShopSellPrice") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("ItemListId"); b.ToTable("Item", "Shared"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemListDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccountId") .HasColumnType("bigint"); b.Property("Bits") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Size") .HasColumnType("tinyint"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("AccountId"); b.HasIndex("CharacterId"); b.ToTable("ItemList", "Shared"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemSocketStatusDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("AttributeId") .HasColumnType("smallint"); b.Property("ItemId") .HasColumnType("uniqueidentifier"); b.Property("Slot") .HasColumnType("tinyint"); b.Property("Type") .HasColumnType("smallint"); b.Property("Value") .HasColumnType("smallint"); b.HasKey("Id"); b.HasIndex("ItemId"); b.ToTable("ItemSocketStatus", "Shared"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterActiveEvolutionDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("DsPerSecond") .HasColumnType("int"); b.Property("XgPerSecond") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("ActiveEvolution", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterArenaPointsDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Amount") .HasColumnType("int"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("CurrentStage") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("ArenaPoints", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterBuffDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("BuffId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("BuffListId") .HasColumnType("bigint"); b.Property("CoolEndDate") .HasColumnType("datetime2"); b.Property("Cooldown") .HasColumnType("int"); b.Property("Duration") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("SkillId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("TypeN") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("BuffListId"); b.ToTable("Buff", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterBuffListDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("BuffList", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccountId") .HasColumnType("bigint"); b.Property("Channel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)255); b.Property("CreateDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("CurrentDs") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(40); b.Property("CurrentExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("CurrentHp") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(50); b.Property("CurrentTitle") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("DigimonSlots") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)3); b.Property("EventState") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("GuildId") .HasColumnType("bigint"); b.Property("InitialPacketSentOnceSent") .HasColumnType("bit"); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("Model") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(80001); b.Property("Name") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.Property("Position") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("ServerId") .HasColumnType("bigint"); b.Property("Size") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)10000); b.Property("State") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("TargetTamerIdTP") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(255); b.Property("XCrystals") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("XGauge") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("GuildId"); b.ToTable("Tamer", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Slots") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("DigimonArchive", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveItemDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("DigimonArchiveId") .HasColumnType("uniqueidentifier"); b.Property("DigimonId") .HasColumnType("bigint"); b.Property("Slot") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("DigimonArchiveId"); b.ToTable("DigimonArchiveItem", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterEncyclopediaDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("CreateDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("DigimonEvolutionId") .HasColumnType("bigint"); b.Property("EnchantAT") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EnchantBL") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EnchantCT") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EnchantEV") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EnchantHP") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("IsRewardAllowed") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); b.Property("IsRewardReceived") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("Size") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("CharacterId"); b.HasIndex("DigimonEvolutionId"); b.ToTable("Encyclopedia", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterEncyclopediaEvolutionsDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterEncyclopediaId") .HasColumnType("bigint"); b.Property("CreateDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("DigimonBaseType") .HasColumnType("int"); b.Property("IsUnlocked") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); b.HasKey("Id"); b.HasIndex("CharacterEncyclopediaId"); b.HasIndex("DigimonBaseType") .IsUnique(); b.ToTable("EncyclopediaEvolutions", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterFoeDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Annotation") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("FoeId") .HasColumnType("bigint"); b.Property("Name") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.HasKey("Id"); b.HasIndex("CharacterId"); b.ToTable("Foe", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterFriendDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Annotation") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Connected") .HasColumnType("bit"); b.Property("FriendId") .HasColumnType("bigint"); b.Property("Name") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.HasKey("Id"); b.HasIndex("CharacterId"); b.ToTable("Friend", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterIncubatorDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BackupDiskId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("EggId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HatchLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("Incubator", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterLocationDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("MapId") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("X") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5000); b.Property("Y") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4500); b.Property("Z") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("Location", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterMapRegionDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Unlocked") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.HasKey("Id"); b.HasIndex("CharacterId"); b.ToTable("MapRegion", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterProgressDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("CompletedData") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CompletedDataValue") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("Progress", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterSealDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("Amount") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("Favorite") .HasColumnType("bit"); b.Property("SealId") .HasColumnType("int"); b.Property("SealListId") .HasColumnType("bigint"); b.Property("SequentialId") .HasColumnType("smallint"); b.HasKey("Id"); b.HasIndex("SealListId"); b.ToTable("Seal", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterSealListDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("SealLeaderId") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("SealList", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterTamerSkillDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Cooldown") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValueSql("0"); b.Property("Duration") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValueSql("0"); b.Property("EndCooldown") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("SkillId") .HasColumnType("int"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("CharacterId"); b.ToTable("ActiveSkill", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterXaiDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("ItemId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("XCrystals") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("XGauge") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("XaiInfo", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.InProgressQuestDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("CharacterProgressId") .HasColumnType("bigint"); b.Property("FifthCondition") .HasColumnType("tinyint"); b.Property("FirstCondition") .HasColumnType("tinyint"); b.Property("FourthCondition") .HasColumnType("tinyint"); b.Property("QuestId") .HasColumnType("smallint"); b.Property("SecondCondition") .HasColumnType("tinyint"); b.Property("ThirdCondition") .HasColumnType("tinyint"); b.HasKey("Id"); b.HasIndex("CharacterProgressId"); b.ToTable("InProgressQuest", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Chat.ChatMessageDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Message") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("Time") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.HasKey("Id"); b.HasIndex("CharacterId"); b.ToTable("ChatMessage", "Security"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.BitsDropConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("DropRewardId") .HasColumnType("bigint"); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("DropRewardId") .IsUnique(); b.ToTable("BitsDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.CloneConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BreakChance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("Level") .HasColumnType("tinyint"); b.Property("MaxAmount") .HasColumnType("int"); b.Property("MinAmount") .HasColumnType("int"); b.Property("SuccessChance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Clone", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.FruitConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .HasColumnType("int"); b.Property("ItemSection") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Fruit", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.FruitSizeConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("FruitConfigId") .HasColumnType("bigint"); b.Property("HatchGrade") .HasColumnType("int"); b.Property("MaxSize") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("MinSize") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("Size") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.HasKey("Id"); b.HasIndex("FruitConfigId"); b.ToTable("FruitSize", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.HashDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CreatedAt") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Hash") .IsRequired() .HasMaxLength(1000) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("Hash", "Config"); b.HasData( new { Id = 1L, CreatedAt = new DateTime(2024, 10, 24, 0, 21, 10, 729, DateTimeKind.Local).AddTicks(2134), Hash = "pMgM+NOH0Z+RwR9F1iFVOOwKrW1iDaifx4jWDnH1Dbo=" }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.HatchConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BreakChance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("SuccessChance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Hatch", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.ItemDropConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("DropRewardId") .HasColumnType("bigint"); b.Property("ItemId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Rank") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.HasKey("Id"); b.HasIndex("DropRewardId"); b.ToTable("ItemDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("GameMapConfigId") .HasColumnType("bigint"); b.Property("ShowOnMinimap") .HasColumnType("bit"); b.HasKey("Id"); b.HasIndex("GameMapConfigId"); b.ToTable("KillSpawn", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnSourceMobConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("KillSpawnId") .HasColumnType("bigint"); b.Property("SourceMobRequiredAmount") .HasColumnType("tinyint"); b.Property("SourceMobType") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("KillSpawnId"); b.ToTable("KillSpawnSourceMob", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnTargetMobConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("KillSpawnId") .HasColumnType("bigint"); b.Property("TargetMobAmount") .HasColumnType("tinyint"); b.Property("TargetMobType") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("KillSpawnId"); b.ToTable("KillSpawnTargetMob", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MapConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Channels") .HasColumnType("smallint"); b.Property("MapId") .HasColumnType("int"); b.Property("MapRegionindex") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Name") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("Map", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Attribute") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Class") .HasColumnType("int"); b.Property("Coliseum") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); b.Property("ColiseumMobType") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DeathTime") .HasColumnType("datetime"); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Element") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family1") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family2") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family3") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("GameMapConfigId") .HasColumnType("bigint"); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HuntRange") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Model") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("ReactionType") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("RespawnInterval") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5); b.Property("ResurrectionTime") .HasColumnType("datetime"); b.Property("Round") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("Type") .HasColumnType("int"); b.Property("ViewRange") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("WeekDay") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("GameMapConfigId"); b.ToTable("Mob", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobDropRewardConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("MobId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("MobId") .IsUnique(); b.ToTable("MobDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobExpRewardConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DigimonExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("ElementExperience") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("MobId") .HasColumnType("bigint"); b.Property("NatureExperience") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("SkillExperience") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("TamerExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.HasKey("Id"); b.HasIndex("MobId") .IsUnique(); b.ToTable("MobExpReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobLocationConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MapId") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("MobConfigId") .HasColumnType("bigint"); b.Property("X") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5000); b.Property("Y") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4500); b.Property("Z") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.HasKey("Id"); b.HasIndex("MobConfigId") .IsUnique(); b.ToTable("MobLocation", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasColumnName("Id"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ItemId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0) .HasColumnName("ItemId"); b.Property("Maps") .IsRequired() .HasColumnType("nvarchar(max)") .HasColumnName("Maps"); b.HasKey("Id"); b.ToTable("Summon", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobBitDropDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("DropRewardId") .HasColumnType("bigint"); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("DropRewardId") .IsUnique(); b.ToTable("SummonBitsDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ARValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ASValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Amount") .HasColumnType("int"); b.Property("Attribute") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Class") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DEValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("DSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Duration") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Element") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family1") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family2") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Family3") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HTValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("HuntRange") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("MSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Model") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("ReactionType") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(1); b.Property("SummonDTOId") .HasColumnType("bigint"); b.Property("Type") .HasColumnType("int"); b.Property("ViewRange") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("WSValue") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("SummonDTOId"); b.ToTable("SummonMob", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobDropRewardDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("MobId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("MobId") .IsUnique(); b.ToTable("SummonMobDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobExpRewardDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DigimonExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("ElementExperience") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("MobId") .HasColumnType("bigint"); b.Property("NatureExperience") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("SkillExperience") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("TamerExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.HasKey("Id"); b.HasIndex("MobId") .IsUnique(); b.ToTable("SummonMobExpReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobItemDropDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Chance") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.Property("DropRewardId") .HasColumnType("bigint"); b.Property("ItemId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MaxAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("MinAmount") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("DropRewardId"); b.ToTable("SummonMobItemDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobLocationDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("MapId") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("MobConfigId") .HasColumnType("bigint"); b.Property("X") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5000); b.Property("Y") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4500); b.Property("Z") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.HasKey("Id"); b.HasIndex("MobConfigId") .IsUnique(); b.ToTable("SummonMobLocation", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.UserDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AccessLevel") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5); b.Property("Password") .IsRequired() .HasMaxLength(100) .HasColumnType("varchar"); b.Property("Username") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("User", "Config"); b.HasData( new { Id = 1L, AccessLevel = 15, Password = "pMgM+NOH0Z+RwR9F1iFVOOwKrW1iDaifx4jWDnH1Dbo=", Username = "masteradmin" }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.WelcomeMessageConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Enabled") .HasColumnType("bit"); b.Property("Message") .IsRequired() .HasMaxLength(150) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("WelcomeMessage", "Config"); b.HasData( new { Id = 1L, Enabled = false, Message = "1 1 1 1 1 1 0 0 1 1 1" }, new { Id = 2L, Enabled = true, Message = "Please, drink some water! :)" }, new { Id = 3L, Enabled = true, Message = "Did you hear that?" }, new { Id = 4L, Enabled = true, Message = "Remember to feed your pet." }, new { Id = 5L, Enabled = true, Message = "Not a Pokémon game." }, new { Id = 6L, Enabled = true, Message = "Warning: Chat may be toxic." }, new { Id = 7L, Enabled = true, Message = "Be yourself!" }, new { Id = 8L, Enabled = true, Message = "Welcome to DSO!" }, new { Id = 9L, Enabled = true, Message = "Do you like chocolate?" }, new { Id = 10L, Enabled = true, Message = "Here we go again!" }, new { Id = 11L, Enabled = true, Message = "Join our Discord! discord.gg/dsooficial" }, new { Id = 12L, Enabled = true, Message = "Can you see that mountain over there?" }, new { Id = 13L, Enabled = true, Message = "\"Look into the source\"" }, new { Id = 14L, Enabled = true, Message = "The staff will NEVER ask your password!" }, new { Id = 15L, Enabled = true, Message = "Y0ur br4in 1s am4z1ng!" }, new { Id = 16L, Enabled = true, Message = "This is the rythm of the night! (8)" }, new { Id = 17L, Enabled = false, Message = "Happy new eyer !!!" }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonAttributeExperienceDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Dark") .HasColumnType("smallint"); b.Property("Data") .HasColumnType("smallint"); b.Property("DigimonId") .HasColumnType("bigint"); b.Property("Fire") .HasColumnType("smallint"); b.Property("Ice") .HasColumnType("smallint"); b.Property("Land") .HasColumnType("smallint"); b.Property("Light") .HasColumnType("smallint"); b.Property("Steel") .HasColumnType("smallint"); b.Property("Thunder") .HasColumnType("smallint"); b.Property("Vaccine") .HasColumnType("smallint"); b.Property("Virus") .HasColumnType("smallint"); b.Property("Water") .HasColumnType("smallint"); b.Property("Wind") .HasColumnType("smallint"); b.Property("Wood") .HasColumnType("smallint"); b.HasKey("Id"); b.HasIndex("DigimonId") .IsUnique(); b.ToTable("AttributeExperience", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonBuffDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("BuffId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("BuffListId") .HasColumnType("bigint"); b.Property("CoolEndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Cooldown") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Duration") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("SkillId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("TypeN") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("BuffListId"); b.ToTable("Buff", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonBuffListDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DigimonId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("DigimonId") .IsUnique(); b.ToTable("BuffList", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BaseType") .HasColumnType("int"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("CreateDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("CurrentDs") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(140); b.Property("CurrentExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("CurrentHp") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(150); b.Property("CurrentSkillExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.Property("CurrentType") .HasColumnType("int"); b.Property("Friendship") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("HatchGrade") .HasColumnType("int"); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("Model") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(25) .HasColumnType("varchar"); b.Property("Size") .HasColumnType("smallint"); b.Property("Slot") .HasColumnType("tinyint"); b.Property("TranscendenceExperience") .ValueGeneratedOnAdd() .HasColumnType("bigint") .HasDefaultValue(0L); b.HasKey("Id"); b.HasIndex("CharacterId"); b.ToTable("Digimon", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDigicloneDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ATLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("ATValue") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("BLLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("BLValue") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("CTLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("CTValue") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("DigimonId") .HasColumnType("bigint"); b.Property("EVLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("EVValue") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("HPLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("HPValue") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.HasKey("Id"); b.HasIndex("DigimonId") .IsUnique(); b.ToTable("Digiclone", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDigicloneHistoryDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ATValues") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("BLValues") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CTValues") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("DigimonDigicloneId") .HasColumnType("bigint"); b.Property("EVValues") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("HPValues") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.HasIndex("DigimonDigicloneId") .IsUnique(); b.ToTable("DigicloneHistory", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonEvolutionDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DigimonId") .HasColumnType("bigint"); b.Property("SkillExperience") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("SkillMastery") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("SkillPoints") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("Type") .HasColumnType("int"); b.Property("Unlocked") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.HasKey("Id"); b.HasIndex("DigimonId"); b.ToTable("Evolution", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonEvolutionSkillDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CurrentLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("Duration") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("EvolutionId") .HasColumnType("bigint"); b.Property("MaxLevel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)10); b.HasKey("Id"); b.HasIndex("EvolutionId"); b.ToTable("EvolutionSkill", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonLocationDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("DigimonId") .HasColumnType("bigint"); b.Property("MapId") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("X") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5000); b.Property("Y") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4500); b.Property("Z") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.HasKey("Id"); b.HasIndex("DigimonId") .IsUnique(); b.ToTable("Location", "Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.ArenaRankingCompetitorDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("InsertDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("New") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValueSql("0"); b.Property("Points") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValueSql("0"); b.Property("Position") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValueSql("0"); b.Property("RankingId") .HasColumnType("uniqueidentifier"); b.Property("TamerId") .ValueGeneratedOnAdd() .HasColumnType("long") .HasDefaultValueSql("0"); b.HasKey("Id"); b.HasIndex("RankingId"); b.ToTable("Competitor", "Arena"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.ArenaRankingDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("EndDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("StartDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Ranking", "Arena"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.AttendanceRewardDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("LastRewardDate") .HasColumnType("datetime2"); b.Property("TotalDays") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("AttendanceReward", "Event"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.CharacterArenaDailyPointsDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("InsertDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Points") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValueSql("0"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("DailyPoints", "Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.TimeRewardDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AtualTime") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("RewardIndex") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("StartTime") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("TimeReward", "Event"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildAuthorityDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Class") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4); b.Property("Duty") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("GuildId") .HasColumnType("bigint"); b.Property("Title") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.HasKey("Id"); b.HasIndex("GuildId"); b.ToTable("Authority", "Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CreationDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("CurrentExperience") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ExtraSlots") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("Notice") .IsRequired() .HasMaxLength(255) .HasColumnType("varchar"); b.HasKey("Id"); b.ToTable("Guild", "Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildHistoricDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Date") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("GuildId") .HasColumnType("bigint"); b.Property("MasterClass") .HasColumnType("int"); b.Property("MasterName") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("MemberClass") .HasColumnType("int"); b.Property("MemberName") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("GuildId"); b.ToTable("Historic", "Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildMemberDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Authority") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("Contribution") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("GuildId") .HasColumnType("bigint"); b.HasKey("Id"); b.HasIndex("CharacterId"); b.HasIndex("GuildId"); b.ToTable("Member", "Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildSkillDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("GuildId") .HasColumnType("bigint"); b.Property("Level") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("SkillId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("GuildId"); b.ToTable("Skill", "Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Routine.RoutineDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Active") .HasColumnType("bit"); b.Property("CreatedAt") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Interval") .HasColumnType("int"); b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("varchar"); b.Property("NextRunTime") .HasColumnType("datetime2"); b.Property("Type") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("Routine", "Routine"); b.HasData( new { Id = 1L, Active = true, CreatedAt = new DateTime(2024, 10, 24, 0, 21, 10, 736, DateTimeKind.Local).AddTicks(3280), Interval = 1, Name = "Daily Quests", NextRunTime = new DateTime(2024, 10, 25, 0, 0, 0, 0, DateTimeKind.Local), Type = 1 }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Server.ServerDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CreateDate") .ValueGeneratedOnAdd() .HasColumnType("datetime2") .HasDefaultValueSql("getdate()"); b.Property("Experience") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Maintenance") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); b.Property("Name") .IsRequired() .HasMaxLength(20) .HasColumnType("varchar"); b.Property("New") .HasColumnType("bit"); b.Property("Overload") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Port") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("Server", "Account"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Shop.ConsignedShopDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Channel") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)0); b.Property("CharacterId") .HasColumnType("bigint"); b.Property("GeneralHandler") .HasColumnType("int"); b.Property("ItemId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ShopName") .IsRequired() .HasMaxLength(30) .HasColumnType("varchar"); b.HasKey("Id"); b.HasIndex("CharacterId") .IsUnique(); b.ToTable("ConsignedShop", "Shop"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Shop.ConsignedShopLocationDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ConsignedShopId") .HasColumnType("bigint"); b.Property("MapId") .ValueGeneratedOnAdd() .HasColumnType("smallint") .HasDefaultValue((short)0); b.Property("X") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5000); b.Property("Y") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(4500); b.Property("Z") .ValueGeneratedOnAdd() .HasColumnType("numeric(9,2)") .HasDefaultValue(0m); b.HasKey("Id"); b.HasIndex("ConsignedShopId") .IsUnique(); b.ToTable("Location", "Shop"); }); modelBuilder.Entity("ODMO.Commons.Models.Asset.AchievementAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("BuffId") .HasColumnType("int"); b.Property("QuestId") .HasColumnType("int"); b.Property("Type") .HasColumnType("tinyint"); b.HasKey("Id"); b.ToTable("Achievement", "Asset"); }); modelBuilder.Entity("ODMO.Commons.Models.Asset.CashShopAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Activated") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("ItemName") .IsRequired() .HasMaxLength(30) .HasColumnType("varchar"); b.Property("Item_Id") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Price") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Quanty") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Unique_Id") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("CashShop", "Asset"); }); modelBuilder.Entity("ODMO.Commons.Models.Asset.TimeRewardAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("CurrentReward") .HasColumnType("int"); b.Property("ItemCount") .HasColumnType("int"); b.Property("ItemId") .HasColumnType("int"); b.Property("RewardIndex") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("TimeEvent", "Asset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountBlockDTO", b => { b.HasOne("ODMO.Commons.DTOs.Account.AccountDTO", "Account") .WithOne("AccountBlock") .HasForeignKey("ODMO.Commons.DTOs.Account.AccountBlockDTO", "AccountId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Account"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Account.SystemInformationDTO", b => { b.HasOne("ODMO.Commons.DTOs.Account.AccountDTO", "Account") .WithOne("SystemInformation") .HasForeignKey("ODMO.Commons.DTOs.Account.SystemInformationDTO", "AccountId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Account"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollStatusAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.AccessoryRollAssetDTO", "AccessoryRollAsset") .WithMany("Status") .HasForeignKey("AccessoryRollAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("AccessoryRollAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardsDTO", "Reward") .WithMany("Rewards") .HasForeignKey("RewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Reward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerRewardAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ContainerAssetDTO", "ContainerAsset") .WithMany("Rewards") .HasForeignKey("ContainerAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ContainerAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionLineAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.EvolutionAssetDTO", "Evolution") .WithMany("Lines") .HasForeignKey("EvolutionId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Evolution"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionStageAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.EvolutionLineAssetDTO", "EvolutionLine") .WithMany("Stages") .HasForeignKey("EvolutionLineId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("EvolutionLine"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ExtraEvolutionInformationAssetDTO", "ExtraInformationAsset") .WithMany("ExtraEvolution") .HasForeignKey("ExtraInfoId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ExtraInformationAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionInformationAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ExtraEvolutionNpcAssetDTO", "ExtraNpcAsset") .WithMany("ExtraEvolutionInformation") .HasForeignKey("ExtraNpcId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ExtraNpcAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionMaterialAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ExtraEvolutionAssetDTO", "ExtraEvolution") .WithMany("Materials") .HasForeignKey("ExtraEvolutionId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ExtraEvolution"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionRequiredAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ExtraEvolutionAssetDTO", "ExtraEvolution") .WithMany("Requireds") .HasForeignKey("ExtraEvolutionId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ExtraEvolution"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaItemsAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.GotchaAssetDTO", "Gotcha") .WithMany("Items") .HasForeignKey("GotchaId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Gotcha"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaRareItemsAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.GotchaAssetDTO", "Gotcha") .WithMany("RareItems") .HasForeignKey("GotchaId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Gotcha"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ItemCraftMaterialAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ItemCraftAssetDTO", "ItemCraft") .WithMany("Materials") .HasForeignKey("ItemCraftId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ItemCraft"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MapRegionAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.MapRegionListAssetDTO", "MapRegionList") .WithMany("Regions") .HasForeignKey("MapRegionListId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("MapRegionList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcItemAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.NpcAssetDTO", "NpcAsset") .WithMany("Items") .HasForeignKey("NpcAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("NpcAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcMobInfoAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.NpcColiseumAssetDTO", "NpcAsset") .WithMany("MobInfo") .HasForeignKey("NpcAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("NpcAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.NpcAssetDTO", "NpcAsset") .WithMany("Portals") .HasForeignKey("NpcAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("NpcAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalsAmountAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.NpcPortalAssetDTO", "NpcAsset") .WithMany("PortalsAsset") .HasForeignKey("NpcAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("NpcAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalsAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.NpcPortalsAmountAssetDTO", "NpcAsset") .WithMany("npcPortalsAsset") .HasForeignKey("NpcAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("NpcAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestConditionAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.QuestAssetDTO", "Quest") .WithMany("QuestConditions") .HasForeignKey("QuestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Quest"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestEventAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.QuestAssetDTO", "Quest") .WithMany("QuestEvents") .HasForeignKey("QuestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Quest"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestGoalAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.QuestAssetDTO", "Quest") .WithMany("QuestGoals") .HasForeignKey("QuestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Quest"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestRewardAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.QuestAssetDTO", "Quest") .WithMany("QuestRewards") .HasForeignKey("QuestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Quest"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestRewardObjectAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.QuestRewardAssetDTO", "QuestReward") .WithMany("RewardObjectList") .HasForeignKey("QuestRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("QuestReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestSupplyAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.QuestAssetDTO", "Quest") .WithMany("QuestSupplies") .HasForeignKey("QuestId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Quest"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ScanRewardDetailAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.ScanDetailAssetDTO", "ScanDetailAsset") .WithMany("Rewards") .HasForeignKey("ScanDetailAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ScanDetailAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.SkillCodeApplyAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.SkillCodeAssetDTO", "SkillCodeAsset") .WithMany("Apply") .HasForeignKey("SkillCodeAssetId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("SkillCodeAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemAccessoryStatusDTO", b => { b.HasOne("ODMO.Commons.DTOs.Base.ItemDTO", "Item") .WithMany("AccessoryStatus") .HasForeignKey("ItemId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Item"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemDTO", b => { b.HasOne("ODMO.Commons.DTOs.Base.ItemListDTO", "ItemList") .WithMany("Items") .HasForeignKey("ItemListId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ItemList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemListDTO", b => { b.HasOne("ODMO.Commons.DTOs.Account.AccountDTO", null) .WithMany("ItemList") .HasForeignKey("AccountId") .OnDelete(DeleteBehavior.Cascade); b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", null) .WithMany("ItemList") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemSocketStatusDTO", b => { b.HasOne("ODMO.Commons.DTOs.Base.ItemDTO", "Item") .WithMany("SocketStatus") .HasForeignKey("ItemId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Item"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterActiveEvolutionDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("ActiveEvolution") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterActiveEvolutionDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterArenaPointsDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("Points") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterArenaPointsDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterBuffDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterBuffListDTO", "BuffList") .WithMany("Buffs") .HasForeignKey("BuffListId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("BuffList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterBuffListDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("BuffList") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterBuffListDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDTO", b => { b.HasOne("ODMO.Commons.DTOs.Mechanics.GuildDTO", "Guild") .WithMany() .HasForeignKey("GuildId"); b.Navigation("Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("DigimonArchive") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveItemDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveDTO", "DigimonArchive") .WithMany("DigimonArchives") .HasForeignKey("DigimonArchiveId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DigimonArchive"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterEncyclopediaDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany("Encyclopedia") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("ODMO.Commons.DTOs.Assets.EvolutionAssetDTO", "EvolutionAsset") .WithMany() .HasForeignKey("DigimonEvolutionId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); b.Navigation("EvolutionAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterEncyclopediaEvolutionsDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterEncyclopediaDTO", "Encyclopedia") .WithMany("Evolutions") .HasForeignKey("CharacterEncyclopediaId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("ODMO.Commons.DTOs.Assets.DigimonBaseInfoAssetDTO", "BaseInfo") .WithOne() .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterEncyclopediaEvolutionsDTO", "DigimonBaseType") .HasPrincipalKey("ODMO.Commons.DTOs.Assets.DigimonBaseInfoAssetDTO", "Type") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("BaseInfo"); b.Navigation("Encyclopedia"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterFoeDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany("Foes") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterFriendDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany("Friends") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterIncubatorDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("Incubator") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterIncubatorDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterLocationDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("Location") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterLocationDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterMapRegionDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany("MapRegions") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterProgressDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("Progress") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterProgressDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterSealDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterSealListDTO", "SealList") .WithMany("Seals") .HasForeignKey("SealListId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("SealList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterSealListDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("SealList") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterSealListDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterTamerSkillDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany("ActiveSkill") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterXaiDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("Xai") .HasForeignKey("ODMO.Commons.DTOs.Character.CharacterXaiDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.InProgressQuestDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterProgressDTO", "CharacterProgress") .WithMany("InProgressQuestData") .HasForeignKey("CharacterProgressId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("CharacterProgress"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Chat.ChatMessageDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany() .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.BitsDropConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MobDropRewardConfigDTO", "DropReward") .WithOne("BitsDrop") .HasForeignKey("ODMO.Commons.DTOs.Config.BitsDropConfigDTO", "DropRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DropReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.FruitSizeConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.FruitConfigDTO", "FruitConfig") .WithMany("SizeList") .HasForeignKey("FruitConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("FruitConfig"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.ItemDropConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MobDropRewardConfigDTO", "DropReward") .WithMany("Drops") .HasForeignKey("DropRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DropReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MapConfigDTO", "GameMapConfig") .WithMany("KillSpawns") .HasForeignKey("GameMapConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("GameMapConfig"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnSourceMobConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.KillSpawnConfigDTO", "KillSpawn") .WithMany("SourceMobs") .HasForeignKey("KillSpawnId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("KillSpawn"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnTargetMobConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.KillSpawnConfigDTO", "KillSpawn") .WithMany("TargetMobs") .HasForeignKey("KillSpawnId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("KillSpawn"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MapConfigDTO", "GameMapConfig") .WithMany("Mobs") .HasForeignKey("GameMapConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("GameMapConfig"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobDropRewardConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MobConfigDTO", "Mob") .WithOne("DropReward") .HasForeignKey("ODMO.Commons.DTOs.Config.MobDropRewardConfigDTO", "MobId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Mob"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobExpRewardConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MobConfigDTO", "Mob") .WithOne("ExpReward") .HasForeignKey("ODMO.Commons.DTOs.Config.MobExpRewardConfigDTO", "MobId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Mob"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobLocationConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.MobConfigDTO", "MobConfig") .WithOne("Location") .HasForeignKey("ODMO.Commons.DTOs.Config.MobLocationConfigDTO", "MobConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("MobConfig"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobBitDropDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.SummonMobDropRewardDTO", "DropReward") .WithOne("BitsDrop") .HasForeignKey("ODMO.Commons.DTOs.Config.SummonMobBitDropDTO", "DropRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DropReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.SummonDTO", null) .WithMany("SummonedMobs") .HasForeignKey("SummonDTOId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobDropRewardDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.SummonMobDTO", "Mob") .WithOne("DropReward") .HasForeignKey("ODMO.Commons.DTOs.Config.SummonMobDropRewardDTO", "MobId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Mob"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobExpRewardDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.SummonMobDTO", "Mob") .WithOne("ExpReward") .HasForeignKey("ODMO.Commons.DTOs.Config.SummonMobExpRewardDTO", "MobId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Mob"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobItemDropDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.SummonMobDropRewardDTO", "DropReward") .WithMany("Drops") .HasForeignKey("DropRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DropReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobLocationDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.SummonMobDTO", "MobConfig") .WithOne("Location") .HasForeignKey("ODMO.Commons.DTOs.Config.SummonMobLocationDTO", "MobConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("MobConfig"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonAttributeExperienceDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonDTO", "Digimon") .WithOne("AttributeExperience") .HasForeignKey("ODMO.Commons.DTOs.Digimon.DigimonAttributeExperienceDTO", "DigimonId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonBuffDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonBuffListDTO", "BuffList") .WithMany("Buffs") .HasForeignKey("BuffListId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("BuffList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonBuffListDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonDTO", "Digimon") .WithOne("BuffList") .HasForeignKey("ODMO.Commons.DTOs.Digimon.DigimonBuffListDTO", "DigimonId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany("Digimons") .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDigicloneDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonDTO", "Digimon") .WithOne("Digiclone") .HasForeignKey("ODMO.Commons.DTOs.Digimon.DigimonDigicloneDTO", "DigimonId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDigicloneHistoryDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonDigicloneDTO", "DigimonDigiclone") .WithOne("History") .HasForeignKey("ODMO.Commons.DTOs.Digimon.DigimonDigicloneHistoryDTO", "DigimonDigicloneId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DigimonDigiclone"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonEvolutionDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonDTO", "Digimon") .WithMany("Evolutions") .HasForeignKey("DigimonId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonEvolutionSkillDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonEvolutionDTO", "Evolution") .WithMany("Skills") .HasForeignKey("EvolutionId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Evolution"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonLocationDTO", b => { b.HasOne("ODMO.Commons.DTOs.Digimon.DigimonDTO", "Digimon") .WithOne("Location") .HasForeignKey("ODMO.Commons.DTOs.Digimon.DigimonLocationDTO", "DigimonId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Digimon"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.ArenaRankingCompetitorDTO", b => { b.HasOne("ODMO.Commons.DTOs.Events.ArenaRankingDTO", "Ranking") .WithMany("Competitors") .HasForeignKey("RankingId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Ranking"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.AttendanceRewardDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("AttendanceReward") .HasForeignKey("ODMO.Commons.DTOs.Events.AttendanceRewardDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.CharacterArenaDailyPointsDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("DailyPoints") .HasForeignKey("ODMO.Commons.DTOs.Events.CharacterArenaDailyPointsDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.TimeRewardDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("TimeReward") .HasForeignKey("ODMO.Commons.DTOs.Events.TimeRewardDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildAuthorityDTO", b => { b.HasOne("ODMO.Commons.DTOs.Mechanics.GuildDTO", "Guild") .WithMany("Authority") .HasForeignKey("GuildId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildHistoricDTO", b => { b.HasOne("ODMO.Commons.DTOs.Mechanics.GuildDTO", "Guild") .WithMany("Historic") .HasForeignKey("GuildId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildMemberDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithMany() .HasForeignKey("CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("ODMO.Commons.DTOs.Mechanics.GuildDTO", "Guild") .WithMany("Members") .HasForeignKey("GuildId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); b.Navigation("Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildSkillDTO", b => { b.HasOne("ODMO.Commons.DTOs.Mechanics.GuildDTO", "Guild") .WithMany("Skills") .HasForeignKey("GuildId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Guild"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Shop.ConsignedShopDTO", b => { b.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Character") .WithOne("ConsignedShop") .HasForeignKey("ODMO.Commons.DTOs.Shop.ConsignedShopDTO", "CharacterId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Character"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Shop.ConsignedShopLocationDTO", b => { b.HasOne("ODMO.Commons.DTOs.Shop.ConsignedShopDTO", "ConsignedShop") .WithOne("Location") .HasForeignKey("ODMO.Commons.DTOs.Shop.ConsignedShopLocationDTO", "ConsignedShopId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("ConsignedShop"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountDTO", b => { b.Navigation("AccountBlock"); b.Navigation("ItemList"); b.Navigation("SystemInformation"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollAssetDTO", b => { b.Navigation("Status"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardsDTO", b => { b.Navigation("Rewards"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerAssetDTO", b => { b.Navigation("Rewards"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionAssetDTO", b => { b.Navigation("Lines"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionLineAssetDTO", b => { b.Navigation("Stages"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionAssetDTO", b => { b.Navigation("Materials"); b.Navigation("Requireds"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionInformationAssetDTO", b => { b.Navigation("ExtraEvolution"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionNpcAssetDTO", b => { b.Navigation("ExtraEvolutionInformation"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaAssetDTO", b => { b.Navigation("Items"); b.Navigation("RareItems"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ItemCraftAssetDTO", b => { b.Navigation("Materials"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.MapRegionListAssetDTO", b => { b.Navigation("Regions"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcAssetDTO", b => { b.Navigation("Items"); b.Navigation("Portals"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcColiseumAssetDTO", b => { b.Navigation("MobInfo"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalAssetDTO", b => { b.Navigation("PortalsAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.NpcPortalsAmountAssetDTO", b => { b.Navigation("npcPortalsAsset"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestAssetDTO", b => { b.Navigation("QuestConditions"); b.Navigation("QuestEvents"); b.Navigation("QuestGoals"); b.Navigation("QuestRewards"); b.Navigation("QuestSupplies"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.QuestRewardAssetDTO", b => { b.Navigation("RewardObjectList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ScanDetailAssetDTO", b => { b.Navigation("Rewards"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.SkillCodeAssetDTO", b => { b.Navigation("Apply"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemDTO", b => { b.Navigation("AccessoryStatus"); b.Navigation("SocketStatus"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Base.ItemListDTO", b => { b.Navigation("Items"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterBuffListDTO", b => { b.Navigation("Buffs"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDTO", b => { b.Navigation("ActiveEvolution") .IsRequired(); b.Navigation("ActiveSkill"); b.Navigation("AttendanceReward") .IsRequired(); b.Navigation("BuffList") .IsRequired(); b.Navigation("ConsignedShop") .IsRequired(); b.Navigation("DailyPoints") .IsRequired(); b.Navigation("DigimonArchive") .IsRequired(); b.Navigation("Digimons"); b.Navigation("Encyclopedia"); b.Navigation("Foes"); b.Navigation("Friends"); b.Navigation("Incubator") .IsRequired(); b.Navigation("ItemList"); b.Navigation("Location") .IsRequired(); b.Navigation("MapRegions"); b.Navigation("Points") .IsRequired(); b.Navigation("Progress") .IsRequired(); b.Navigation("SealList") .IsRequired(); b.Navigation("TimeReward") .IsRequired(); b.Navigation("Xai") .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterDigimonArchiveDTO", b => { b.Navigation("DigimonArchives"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterEncyclopediaDTO", b => { b.Navigation("Evolutions"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterProgressDTO", b => { b.Navigation("InProgressQuestData"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Character.CharacterSealListDTO", b => { b.Navigation("Seals"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.FruitConfigDTO", b => { b.Navigation("SizeList"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.KillSpawnConfigDTO", b => { b.Navigation("SourceMobs"); b.Navigation("TargetMobs"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MapConfigDTO", b => { b.Navigation("KillSpawns"); b.Navigation("Mobs"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobConfigDTO", b => { b.Navigation("DropReward"); b.Navigation("ExpReward"); b.Navigation("Location") .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.MobDropRewardConfigDTO", b => { b.Navigation("BitsDrop") .IsRequired(); b.Navigation("Drops"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonDTO", b => { b.Navigation("SummonedMobs"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobDTO", b => { b.Navigation("DropReward") .IsRequired(); b.Navigation("ExpReward") .IsRequired(); b.Navigation("Location") .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.SummonMobDropRewardDTO", b => { b.Navigation("BitsDrop") .IsRequired(); b.Navigation("Drops"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonBuffListDTO", b => { b.Navigation("Buffs"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDTO", b => { b.Navigation("AttributeExperience") .IsRequired(); b.Navigation("BuffList") .IsRequired(); b.Navigation("Digiclone") .IsRequired(); b.Navigation("Evolutions"); b.Navigation("Location") .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonDigicloneDTO", b => { b.Navigation("History") .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Digimon.DigimonEvolutionDTO", b => { b.Navigation("Skills"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Events.ArenaRankingDTO", b => { b.Navigation("Competitors"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Mechanics.GuildDTO", b => { b.Navigation("Authority"); b.Navigation("Historic"); b.Navigation("Members"); b.Navigation("Skills"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Shop.ConsignedShopDTO", b => { b.Navigation("Location") .IsRequired(); }); #pragma warning restore 612, 618 } } }