//
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("20241119070440_DeckBuff")]
partial class DeckBuff
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "7.0.5")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountBlockDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccountId")
.HasColumnType("bigint");
b.Property("EndDate")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("Reason")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar");
b.Property("StartDate")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("Type")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.HasIndex("AccountId")
.IsUnique();
b.ToTable("AccountBlock", "Account");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccessLevel")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CreateDate")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("DiscordId")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar");
b.Property("Email")
.IsRequired()
.HasMaxLength(150)
.HasColumnType("varchar");
b.Property("LastConnection")
.HasColumnType("datetime2");
b.Property("LastPlayedCharacter")
.ValueGeneratedOnAdd()
.HasColumnType("bigint")
.HasDefaultValue(0L);
b.Property("LastPlayedServer")
.ValueGeneratedOnAdd()
.HasColumnType("bigint")
.HasDefaultValue(0L);
b.Property("MembershipExpirationDate")
.HasColumnType("datetime2");
b.Property("Password")
.IsRequired()
.HasMaxLength(250)
.HasColumnType("varchar");
b.Property("Premium")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ReceiveWelcome")
.HasColumnType("bit");
b.Property("SecondaryPassword")
.HasMaxLength(250)
.HasColumnType("varchar");
b.Property("Silk")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Username")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar");
b.HasKey("Id");
b.ToTable("Account", "Account");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Account.LoginTryDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Date")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("Ip")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("varchar");
b.Property("Result")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(4);
b.Property("Username")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar");
b.HasKey("Id");
b.ToTable("LoginTry", "Security");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Account.SystemInformationDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccountId")
.HasColumnType("bigint");
b.Property("Cpu")
.HasMaxLength(50)
.HasColumnType("varchar");
b.Property("Gpu")
.HasMaxLength(50)
.HasColumnType("varchar");
b.Property("Ip")
.HasMaxLength(30)
.HasColumnType("varchar");
b.HasKey("Id");
b.HasIndex("AccountId")
.IsUnique();
b.ToTable("SystemInformation", "Account");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ItemId")
.HasColumnType("int");
b.Property("RerollAmount")
.HasColumnType("int");
b.Property("StatusAmount")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("AccessoryRoll", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccessoryRollAssetId")
.HasColumnType("bigint");
b.Property("MaxValue")
.HasColumnType("int");
b.Property("MinValue")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("AccessoryRollAssetId");
b.ToTable("AccessoryRollStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Amount")
.HasColumnType("int");
b.Property("ItemId")
.HasColumnType("int");
b.Property("RequiredCoins")
.HasColumnType("tinyint");
b.Property("RewardId")
.HasColumnType("bigint");
b.HasKey("Id");
b.HasIndex("RewardId");
b.ToTable("ArenaDailyItemReward", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardsDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("WeekDay")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("ArenaDailyItemRewards", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.BuffAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("BuffId")
.HasColumnType("int");
b.Property("Class")
.HasColumnType("smallint");
b.Property("ConditionLevel")
.HasColumnType("int");
b.Property("DigimonSkillCode")
.HasColumnType("int");
b.Property("LifeType")
.HasColumnType("int");
b.Property("MinLevel")
.HasColumnType("int");
b.Property("Name")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property("SkillCode")
.HasColumnType("int");
b.Property("TimeType")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Buff", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CharacterBaseStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ARValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ASValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ATValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("BLValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DEValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EVValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HPValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("MSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Type")
.HasColumnType("int");
b.Property("WSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.ToTable("CharacterBaseStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CharacterLevelStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ARValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ASValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ATValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("BLValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DEValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EVValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ExpValue")
.HasColumnType("bigint");
b.Property("HPValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Level")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint")
.HasDefaultValue((byte)1);
b.Property("MSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Type")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(80001);
b.Property("WSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.ToTable("CharacterLevelStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CloneAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Bits")
.HasColumnType("bigint");
b.Property("ItemSection")
.HasColumnType("int");
b.Property("MaxLevel")
.HasColumnType("tinyint");
b.Property("MinLevel")
.HasColumnType("tinyint");
b.HasKey("Id");
b.ToTable("Clone", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CloneValueAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("MaxLevel")
.HasColumnType("tinyint");
b.Property("MaxValue")
.HasColumnType("int");
b.Property("MinLevel")
.HasColumnType("tinyint");
b.Property("MinValue")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("CloneValue", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ItemId")
.HasColumnType("int");
b.Property("ItemName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar");
b.Property("RewardAmount")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Container", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerRewardAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Chance")
.ValueGeneratedOnAdd()
.HasColumnType("numeric(9,2)")
.HasDefaultValue(0m);
b.Property("ContainerAssetId")
.HasColumnType("bigint");
b.Property("ItemId")
.HasColumnType("int");
b.Property("ItemName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar");
b.Property("MaxAmount")
.HasColumnType("int");
b.Property("MinAmount")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Rare")
.HasColumnType("bit");
b.HasKey("Id");
b.HasIndex("ContainerAssetId");
b.ToTable("ContainerReward", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.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("DeckBuffId")
.HasColumnType("int");
b.Property("GroupIdX")
.HasColumnType("int");
b.Property("Option")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
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("DeckBuffId");
b.ToTable("DeckBuffOption", "Asset");
b.HasData(
new
{
Id = 1,
AtType = 0,
Condition = 1,
GroupIdX = 1001,
Option = 3,
Prob = 0,
Time = 0,
Value = 30
},
new
{
Id = 2,
AtType = 0,
Condition = 0,
GroupIdX = 1001,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 3,
AtType = 0,
Condition = 0,
GroupIdX = 1001,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 4,
AtType = 1,
Condition = 2,
GroupIdX = 1002,
Option = 4,
Prob = 700,
Time = 0,
Value = 0
},
new
{
Id = 5,
AtType = 0,
Condition = 0,
GroupIdX = 1002,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 6,
AtType = 0,
Condition = 0,
GroupIdX = 1002,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 7,
AtType = 1,
Condition = 3,
GroupIdX = 1004,
Option = 1,
Prob = 300,
Time = 5,
Value = 15
},
new
{
Id = 8,
AtType = 0,
Condition = 0,
GroupIdX = 1004,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 9,
AtType = 0,
Condition = 0,
GroupIdX = 1004,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 10,
AtType = 0,
Condition = 1,
GroupIdX = 1008,
Option = 6,
Prob = 0,
Time = 0,
Value = 8
},
new
{
Id = 11,
AtType = 0,
Condition = 0,
GroupIdX = 1008,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 12,
AtType = 0,
Condition = 0,
GroupIdX = 1008,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 13,
AtType = 0,
Condition = 1,
GroupIdX = 1009,
Option = 6,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 14,
AtType = 0,
Condition = 0,
GroupIdX = 1009,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 15,
AtType = 0,
Condition = 0,
GroupIdX = 1009,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 16,
AtType = 0,
Condition = 1,
GroupIdX = 1010,
Option = 5,
Prob = 0,
Time = 0,
Value = 10
},
new
{
Id = 17,
AtType = 0,
Condition = 0,
GroupIdX = 1010,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 18,
AtType = 0,
Condition = 0,
GroupIdX = 1010,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 19,
AtType = 1,
Condition = 3,
GroupIdX = 1011,
Option = 1,
Prob = 600,
Time = 10,
Value = 10
},
new
{
Id = 20,
AtType = 0,
Condition = 0,
GroupIdX = 1011,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 21,
AtType = 0,
Condition = 0,
GroupIdX = 1011,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 22,
AtType = 2,
Condition = 3,
GroupIdX = 1012,
Option = 2,
Prob = 700,
Time = 12,
Value = 8
},
new
{
Id = 23,
AtType = 0,
Condition = 0,
GroupIdX = 1012,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 24,
AtType = 0,
Condition = 0,
GroupIdX = 1012,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 25,
AtType = 0,
Condition = 1,
GroupIdX = 1013,
Option = 30,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 26,
AtType = 0,
Condition = 0,
GroupIdX = 1013,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 27,
AtType = 0,
Condition = 0,
GroupIdX = 1013,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 28,
AtType = 2,
Condition = 3,
GroupIdX = 1016,
Option = 2,
Prob = 500,
Time = 10,
Value = 12
},
new
{
Id = 29,
AtType = 0,
Condition = 0,
GroupIdX = 1016,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 30,
AtType = 0,
Condition = 0,
GroupIdX = 1016,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 31,
AtType = 1,
Condition = 3,
GroupIdX = 1017,
Option = 1,
Prob = 7000,
Time = 5,
Value = 12
},
new
{
Id = 32,
AtType = 0,
Condition = 1,
GroupIdX = 1017,
Option = 5,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 33,
AtType = 0,
Condition = 0,
GroupIdX = 1017,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 34,
AtType = 1,
Condition = 3,
GroupIdX = 1019,
Option = 1,
Prob = 5000,
Time = 5,
Value = 15
},
new
{
Id = 35,
AtType = 0,
Condition = 1,
GroupIdX = 1019,
Option = 5,
Prob = 0,
Time = 0,
Value = 10
},
new
{
Id = 36,
AtType = 0,
Condition = 1,
GroupIdX = 1019,
Option = 3,
Prob = 0,
Time = 0,
Value = 2
},
new
{
Id = 37,
AtType = 1,
Condition = 3,
GroupIdX = 1020,
Option = 1,
Prob = 4000,
Time = 5,
Value = 25
},
new
{
Id = 38,
AtType = 0,
Condition = 1,
GroupIdX = 1020,
Option = 5,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 39,
AtType = 0,
Condition = 1,
GroupIdX = 1020,
Option = 3,
Prob = 0,
Time = 0,
Value = 5
},
new
{
Id = 40,
AtType = 0,
Condition = 1,
GroupIdX = 1021,
Option = 6,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 41,
AtType = 0,
Condition = 1,
GroupIdX = 1021,
Option = 5,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 42,
AtType = 1,
Condition = 3,
GroupIdX = 1021,
Option = 1,
Prob = 3000,
Time = 7,
Value = 20
},
new
{
Id = 43,
AtType = 0,
Condition = 1,
GroupIdX = 1022,
Option = 2,
Prob = 0,
Time = 0,
Value = 12
},
new
{
Id = 44,
AtType = 0,
Condition = 0,
GroupIdX = 1022,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 45,
AtType = 0,
Condition = 0,
GroupIdX = 1022,
Option = 0,
Prob = 0,
Time = 0,
Value = 0
},
new
{
Id = 46,
AtType = 0,
Condition = 1,
GroupIdX = 1023,
Option = 2,
Prob = 0,
Time = 0,
Value = 15
},
new
{
Id = 47,
AtType = 1,
Condition = 3,
GroupIdX = 1023,
Option = 3,
Prob = 300,
Time = 10,
Value = 100
},
new
{
Id = 48,
AtType = 0,
Condition = 1,
GroupIdX = 1023,
Option = 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