// 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("20241127025934_EditEvents")] partial class EditEvents { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.11") .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.DeckBookInfoAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Explain") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("Name") .IsRequired() .HasMaxLength(200) .HasColumnType("varchar"); b.Property("OptionId") .HasColumnType("int"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.ToTable("DeckBookInfo", "Asset"); b.HasData( new { Id = 1L, Explain = "None.", Name = "None", OptionId = 0, Type = 0 }, new { Id = 2L, Explain = "Additional damage to normal attack is applied.", Name = "Additional damage to attack", OptionId = 1, Type = 1 }, new { Id = 3L, Explain = "Additional damage to skill attack is applied.", Name = "Additional damage to skill", OptionId = 2, Type = 2 }, new { Id = 4L, Explain = "Increase critical hit damage.", Name = "Increase critical hit damage", OptionId = 3, Type = 3 }, new { Id = 5L, Explain = "Reset skills' cooldown time when activated.", Name = "Reset skill cooldown time", OptionId = 4, Type = 4 }, new { Id = 6L, Explain = "Increase digimon's Max HP.", Name = "Increase Max HP", OptionId = 5, Type = 5 }, new { Id = 7L, Explain = "Increase normal attacking speed.", Name = "Increase attack speed", OptionId = 6, Type = 6 }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DeckBuffAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Explain") .IsRequired() .HasColumnType("varchar(max)"); b.Property("GroupIdX") .HasColumnType("int"); b.Property("GroupName") .IsRequired() .HasMaxLength(250) .HasColumnType("varchar"); b.HasKey("Id"); b.HasIndex("GroupIdX") .IsUnique(); b.ToTable("DeckBuff", "Asset"); b.HasData( new { Id = 1, Explain = "The Four Holy Beasts are four Ultimate digimons that reign over the north, south, east, and west of the digital world. Qinglongmon(Lightning), Xuanwumon(Water), Zhuqiaomon(Fire), and Baihumon(Iron), the Four Holy Beasts have, unlike other normal digimons, twelve cores and four eyes respectively.", GroupIdX = 1001, GroupName = "Four Holy Beasts" }, new { Id = 2, Explain = "Two or more Jogress digimons can be combined to evolve into an entirely different digimon. A digimon successfully jogressed has great power and an essential role in the digital world.", GroupIdX = 1002, GroupName = "Fusion to evolve into the higher" }, new { Id = 3, Explain = "They are the three great archangels who are the leaders of all the angelic digimons in the digital world. They are Seraphimon who executes god's law, Cherubimon who protects wisdom and god's area, Ophanimon who delivers god's love. Also, they lead angelic army consists of man-type, animal-type, and woman-type angelic digimons. Seraphimon is the highest of the three, and thus of all the angelic digimons.", GroupIdX = 1004, GroupName = "Three Archangels" }, new { Id = 4, Explain = "Digimon adventure's 8 main characters' partner digimons. Tai's partner Agumon, Matthew's partner Gabumon, Izzy's partner Tentomon, Kido Jou's partner Gomamon, T.K.'s partner Patamon, Mimi's Palmon, Sora's partner Biyomon, Kari's partner Gatomon are the members.", GroupIdX = 1008, GroupName = "Main characters of the adventure" }, new { Id = 5, Explain = "This is the group of the digimons with wings who have become Burst Mode digimons overcoming the power of Mega digimons.\nTheir wings influence all their actions from battle to moving.\nThe wings can be the shield of the Digital World full of good will,\nbut sometimes they can also be the blade raising the wind of darkness.", GroupIdX = 1009, GroupName = ">Burst Ultimate Wing" }, new { Id = 6, Explain = "The digimon looks like the food one can easily see in daily life.\nMushroom, clam, fish, squid,\nand pumpkin can make really great seafood stew if mixed harmoniously.\n?Jogress Food?\nEvolve into the best seafood stew!", GroupIdX = 1010, GroupName = "Seafood Stew" }, new { Id = 7, Explain = "This is the group of the digimons using big and nice blades to lead the battle.\nThey are usually masters of swords so that it's very beautiful to watch they play with their\nswords.\nAs the digimons walk only on the sword's way,\nthey commonly hold fast to their justice just like sharp blades.", GroupIdX = 1011, GroupName = "Sharp Blue Sword Wave" }, new { Id = 8, Explain = "This is the group of the digimons using firearms like guns and cannons to win battles.\nSome of them unleash stylish attacks with pistols,\nthe others deal heavy damage with huge cannon installed on their body.\nGun using digimons are usually cheerful, whereas\nCannon using digimons are taciturn.", GroupIdX = 1012, GroupName = "Instant Red Gun Fire" }, new { Id = 9, Explain = "This is the group of the digimons that you want to be with.\nWhen you come back home, if one of the digimons from the deck welcomes you,\nit will be your happy day.\nWhen you are uncomfortable, you can be calmed if you touch their shaggy hair.", GroupIdX = 1013, GroupName = "So cute?" }, new { Id = 10, Explain = "Appearing at the latter part of the digimon adventure, they are powerful dark forces who can compress all the areas into one place. Four dark masters have Ultimate digimons as servants.", GroupIdX = 1016, GroupName = "Four Dark Masters" }, new { Id = 11, Explain = "It is the final boss of Digimon Adventure\nand came from beyond the Wall of Fire to have the final fight with the Digidestined.\nIt wanted to help the world but it is a collective agent of the resentment of the Digimons that\ndied out and are left behind by evolution.\nThe egos of resentment disappeared in the darkness\nand decided to attack the Digital World to give the Digidestined and the other Digimons in the\nworld of light the same pain it suffered.", GroupIdX = 1017, GroupName = "Ego of the Darkness" }, new { Id = 12, Explain = "The Final Sprit Evolusion\nHyper Spirit Evolusion Digimon", GroupIdX = 1019, GroupName = "Hyper Spirit Evolution" }, new { Id = 13, Explain = "Digimon Group that Told of Oriental legends, strongest destructive god and the god which governs over regeneration, Susanoomon and Hyper Spirit Evolution Digimons.", GroupIdX = 1020, GroupName = "Ancient Spirit Evolution" }, new { Id = 14, Explain = "A group of legendary vaccine knights that declared to be natural enemy of evil virus Digimons.", GroupIdX = 1021, GroupName = "Legendary Knights of Vaccine" }, new { Id = 15, Explain = "Community of 3 different Holy Knights that are alike.", GroupIdX = 1022, GroupName = "OMEGA" }, new { Id = 16, Explain = "Community of 3 different Holy Knights that are alike and Digimon after transcendence.", GroupIdX = 1023, GroupName = "MEGA-OMEGA" }); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DeckBuffOptionAssetDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("AtType") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Condition") .HasColumnType("int"); b.Property("GroupIdX") .HasColumnType("int"); b.Property("OptionId") .HasColumnType("int"); b.Property("Prob") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Time") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Value") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.HasKey("Id"); b.HasIndex("GroupIdX"); b.HasIndex("OptionId"); b.ToTable("DeckBuffOption", "Asset"); b.HasData( new { Id = 1, AtType = 0, Condition = 1, GroupIdX = 1001, OptionId = 3, Prob = 0, Time = 0, Value = 30 }, new { Id = 2, AtType = 0, Condition = 0, GroupIdX = 1001, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 3, AtType = 0, Condition = 0, GroupIdX = 1001, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 4, AtType = 1, Condition = 2, GroupIdX = 1002, OptionId = 4, Prob = 700, Time = 0, Value = 0 }, new { Id = 5, AtType = 0, Condition = 0, GroupIdX = 1002, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 6, AtType = 0, Condition = 0, GroupIdX = 1002, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 7, AtType = 1, Condition = 3, GroupIdX = 1004, OptionId = 1, Prob = 300, Time = 5, Value = 15 }, new { Id = 8, AtType = 0, Condition = 0, GroupIdX = 1004, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 9, AtType = 0, Condition = 0, GroupIdX = 1004, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 10, AtType = 0, Condition = 1, GroupIdX = 1008, OptionId = 6, Prob = 0, Time = 0, Value = 8 }, new { Id = 11, AtType = 0, Condition = 0, GroupIdX = 1008, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 12, AtType = 0, Condition = 0, GroupIdX = 1008, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 13, AtType = 0, Condition = 1, GroupIdX = 1009, OptionId = 6, Prob = 0, Time = 0, Value = 15 }, new { Id = 14, AtType = 0, Condition = 0, GroupIdX = 1009, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 15, AtType = 0, Condition = 0, GroupIdX = 1009, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 16, AtType = 0, Condition = 1, GroupIdX = 1010, OptionId = 5, Prob = 0, Time = 0, Value = 10 }, new { Id = 17, AtType = 0, Condition = 0, GroupIdX = 1010, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 18, AtType = 0, Condition = 0, GroupIdX = 1010, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 19, AtType = 1, Condition = 3, GroupIdX = 1011, OptionId = 1, Prob = 600, Time = 10, Value = 10 }, new { Id = 20, AtType = 0, Condition = 0, GroupIdX = 1011, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 21, AtType = 0, Condition = 0, GroupIdX = 1011, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 22, AtType = 2, Condition = 3, GroupIdX = 1012, OptionId = 2, Prob = 700, Time = 12, Value = 8 }, new { Id = 23, AtType = 0, Condition = 0, GroupIdX = 1012, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 24, AtType = 0, Condition = 0, GroupIdX = 1012, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 25, AtType = 0, Condition = 1, GroupIdX = 1013, OptionId = 3, Prob = 0, Time = 0, Value = 15 }, new { Id = 26, AtType = 0, Condition = 0, GroupIdX = 1013, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 27, AtType = 0, Condition = 0, GroupIdX = 1013, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 28, AtType = 2, Condition = 3, GroupIdX = 1016, OptionId = 2, Prob = 500, Time = 10, Value = 12 }, new { Id = 29, AtType = 0, Condition = 0, GroupIdX = 1016, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 30, AtType = 0, Condition = 0, GroupIdX = 1016, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 31, AtType = 1, Condition = 3, GroupIdX = 1017, OptionId = 1, Prob = 7000, Time = 5, Value = 12 }, new { Id = 32, AtType = 0, Condition = 1, GroupIdX = 1017, OptionId = 5, Prob = 0, Time = 0, Value = 15 }, new { Id = 33, AtType = 0, Condition = 0, GroupIdX = 1017, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 34, AtType = 1, Condition = 3, GroupIdX = 1019, OptionId = 1, Prob = 5000, Time = 5, Value = 15 }, new { Id = 35, AtType = 0, Condition = 1, GroupIdX = 1019, OptionId = 5, Prob = 0, Time = 0, Value = 10 }, new { Id = 36, AtType = 0, Condition = 1, GroupIdX = 1019, OptionId = 3, Prob = 0, Time = 0, Value = 2 }, new { Id = 37, AtType = 1, Condition = 3, GroupIdX = 1020, OptionId = 1, Prob = 4000, Time = 5, Value = 25 }, new { Id = 38, AtType = 0, Condition = 1, GroupIdX = 1020, OptionId = 5, Prob = 0, Time = 0, Value = 15 }, new { Id = 39, AtType = 0, Condition = 1, GroupIdX = 1020, OptionId = 3, Prob = 0, Time = 0, Value = 5 }, new { Id = 40, AtType = 0, Condition = 1, GroupIdX = 1021, OptionId = 6, Prob = 0, Time = 0, Value = 15 }, new { Id = 41, AtType = 0, Condition = 1, GroupIdX = 1021, OptionId = 5, Prob = 0, Time = 0, Value = 15 }, new { Id = 42, AtType = 1, Condition = 3, GroupIdX = 1021, OptionId = 1, Prob = 3000, Time = 7, Value = 20 }, new { Id = 43, AtType = 0, Condition = 1, GroupIdX = 1022, OptionId = 2, Prob = 0, Time = 0, Value = 12 }, new { Id = 44, AtType = 0, Condition = 0, GroupIdX = 1022, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 45, AtType = 0, Condition = 0, GroupIdX = 1022, OptionId = 0, Prob = 0, Time = 0, Value = 0 }, new { Id = 46, AtType = 0, Condition = 1, GroupIdX = 1023, OptionId = 2, Prob = 0, Time = 0, Value = 15 }, new { Id = 47, AtType = 1, Condition = 3, GroupIdX = 1023, OptionId = 3, Prob = 300, Time = 10, Value = 100 }, new { Id = 48, AtType = 0, Condition = 1, GroupIdX = 1023, OptionId = 6, Prob = 0, Time = 0, Value = 15 }); }); 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.Property("Type") .HasColumnType("int"); 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("BuffId") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("Duration") .HasColumnType("int"); b.Property("SkillCode") .HasColumnType("int"); b.Property("SkillId") .HasColumnType("int"); b.Property("Type") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); 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("DeckBuffId") .HasColumnType("int"); 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") .ValueGeneratedOnAdd() .HasColumnType("bit") .HasDefaultValue(false); 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("DeckBuffId"); 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.Property("SlotLevel") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("CharacterEncyclopediaId"); b.HasIndex("DigimonBaseType"); 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.HasIndex("FoeId"); 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.HasIndex("FriendId"); 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.Events.EventBitsDropConfigDTO", 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("EventBitsDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Description") .IsRequired() .HasMaxLength(500) .HasColumnType("nvarchar(500)"); b.Property("IsEnabled") .HasColumnType("bit"); b.Property("Name") .IsRequired() .HasMaxLength(100) .HasColumnType("nvarchar(100)"); b.Property("Rounds") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)1); b.Property("StartDay") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0); b.Property("StartsAt") .HasColumnType("time"); b.HasKey("Id"); b.ToTable("Events", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventItemDropConfigDTO", 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("EventItemDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMapsConfigDTO", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Channels") .HasColumnType("int"); b.Property("EventConfigId") .HasColumnType("bigint"); b.Property("IsEnabled") .HasColumnType("bit"); b.Property("MapId") .HasColumnType("int"); b.HasKey("Id"); b.HasIndex("EventConfigId"); b.HasIndex("MapId"); b.ToTable("EventMaps", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobConfigDTO", 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("DeathTime") .HasColumnType("datetime"); 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("EventMapConfigId") .HasColumnType("bigint"); 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("RespawnInterval") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(5); b.Property("ResurrectionTime") .HasColumnType("datetime"); b.Property("Round") .ValueGeneratedOnAdd() .HasColumnType("tinyint") .HasDefaultValue((byte)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.HasIndex("EventMapConfigId"); b.ToTable("EventMob", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobDropRewardConfigDTO", 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("EventMobDropReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobExpRewardConfigDTO", 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("EventMobExpReward", "Config"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobLocationConfigDTO", 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("EventMobLocation", "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, 11, 27, 4, 59, 33, 891, DateTimeKind.Local).AddTicks(756), 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 = true, Message = "Welcome to UDMO - Ultra Digital Masters online" }); }); 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, 11, 27, 4, 59, 33, 902, DateTimeKind.Local).AddTicks(3651), Interval = 1, Name = "Daily Quests", NextRunTime = new DateTime(2024, 11, 28, 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.DeckBuffOptionAssetDTO", b => { b.HasOne("ODMO.Commons.DTOs.Assets.DeckBuffAssetDTO", "DeckBuff") .WithMany("Options") .HasForeignKey("GroupIdX") .HasPrincipalKey("GroupIdX") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("ODMO.Commons.DTOs.Assets.DeckBookInfoAssetDTO", "DeckBookInfo") .WithMany("Options") .HasForeignKey("OptionId") .HasPrincipalKey("OptionId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DeckBookInfo"); b.Navigation("DeckBuff"); }); 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.Assets.DeckBuffAssetDTO", "DeckBuff") .WithMany("Characters") .HasForeignKey("DeckBuffId") .HasPrincipalKey("GroupIdX"); b.HasOne("ODMO.Commons.DTOs.Mechanics.GuildDTO", "Guild") .WithMany() .HasForeignKey("GuildId"); b.Navigation("DeckBuff"); 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") .WithMany() .HasForeignKey("DigimonBaseType") .HasPrincipalKey("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.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Foe") .WithMany("Foed") .HasForeignKey("FoeId") .OnDelete(DeleteBehavior.NoAction) .IsRequired(); b.Navigation("Character"); b.Navigation("Foe"); }); 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.HasOne("ODMO.Commons.DTOs.Character.CharacterDTO", "Friend") .WithMany("Friended") .HasForeignKey("FriendId") .OnDelete(DeleteBehavior.NoAction) .IsRequired(); b.Navigation("Character"); b.Navigation("Friend"); }); 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.Events.EventBitsDropConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventMobDropRewardConfigDTO", "DropReward") .WithOne("BitsDrop") .HasForeignKey("ODMO.Commons.DTOs.Config.Events.EventBitsDropConfigDTO", "DropRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DropReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventItemDropConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventMobDropRewardConfigDTO", "DropReward") .WithMany("Drops") .HasForeignKey("DropRewardId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("DropReward"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMapsConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventConfigDTO", "EventConfig") .WithMany("EventMaps") .HasForeignKey("EventConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.HasOne("ODMO.Commons.DTOs.Config.MapConfigDTO", "Map") .WithMany() .HasForeignKey("MapId") .HasPrincipalKey("MapId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("EventConfig"); b.Navigation("Map"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventMapsConfigDTO", "EventMapConfig") .WithMany("Mobs") .HasForeignKey("EventMapConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("EventMapConfig"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobDropRewardConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventMobConfigDTO", "Mob") .WithOne("DropReward") .HasForeignKey("ODMO.Commons.DTOs.Config.Events.EventMobDropRewardConfigDTO", "MobId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Mob"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobExpRewardConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventMobConfigDTO", "Mob") .WithOne("ExpReward") .HasForeignKey("ODMO.Commons.DTOs.Config.Events.EventMobExpRewardConfigDTO", "MobId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("Mob"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobLocationConfigDTO", b => { b.HasOne("ODMO.Commons.DTOs.Config.Events.EventMobConfigDTO", "MobConfig") .WithOne("Location") .HasForeignKey("ODMO.Commons.DTOs.Config.Events.EventMobLocationConfigDTO", "MobConfigId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); b.Navigation("MobConfig"); }); 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.DeckBookInfoAssetDTO", b => { b.Navigation("Options"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DeckBuffAssetDTO", b => { b.Navigation("Characters"); b.Navigation("Options"); }); 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("Foed"); b.Navigation("Foes"); b.Navigation("Friended"); 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.Events.EventConfigDTO", b => { b.Navigation("EventMaps"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMapsConfigDTO", b => { b.Navigation("Mobs"); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobConfigDTO", b => { b.Navigation("DropReward"); b.Navigation("ExpReward"); b.Navigation("Location") .IsRequired(); }); modelBuilder.Entity("ODMO.Commons.DTOs.Config.Events.EventMobDropRewardConfigDTO", b => { b.Navigation("BitsDrop") .IsRequired(); b.Navigation("Drops"); }); 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 } } }