//
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("20241117232255_AlterTamerSkillAssetTable")]
partial class AlterTamerSkillAssetTable
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "7.0.5")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountBlockDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccountId")
.HasColumnType("bigint");
b.Property("EndDate")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("Reason")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("varchar");
b.Property("StartDate")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("Type")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.HasIndex("AccountId")
.IsUnique();
b.ToTable("AccountBlock", "Account");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Account.AccountDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccessLevel")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CreateDate")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("DiscordId")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar");
b.Property("Email")
.IsRequired()
.HasMaxLength(150)
.HasColumnType("varchar");
b.Property("LastConnection")
.HasColumnType("datetime2");
b.Property("LastPlayedCharacter")
.ValueGeneratedOnAdd()
.HasColumnType("bigint")
.HasDefaultValue(0L);
b.Property("LastPlayedServer")
.ValueGeneratedOnAdd()
.HasColumnType("bigint")
.HasDefaultValue(0L);
b.Property("MembershipExpirationDate")
.HasColumnType("datetime2");
b.Property("Password")
.IsRequired()
.HasMaxLength(250)
.HasColumnType("varchar");
b.Property("Premium")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ReceiveWelcome")
.HasColumnType("bit");
b.Property("SecondaryPassword")
.HasMaxLength(250)
.HasColumnType("varchar");
b.Property("Silk")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Username")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar");
b.HasKey("Id");
b.ToTable("Account", "Account");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Account.LoginTryDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Date")
.ValueGeneratedOnAdd()
.HasColumnType("datetime2")
.HasDefaultValueSql("getdate()");
b.Property("Ip")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("varchar");
b.Property("Result")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(4);
b.Property("Username")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("varchar");
b.HasKey("Id");
b.ToTable("LoginTry", "Security");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Account.SystemInformationDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccountId")
.HasColumnType("bigint");
b.Property("Cpu")
.HasMaxLength(50)
.HasColumnType("varchar");
b.Property("Gpu")
.HasMaxLength(50)
.HasColumnType("varchar");
b.Property("Ip")
.HasMaxLength(30)
.HasColumnType("varchar");
b.HasKey("Id");
b.HasIndex("AccountId")
.IsUnique();
b.ToTable("SystemInformation", "Account");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ItemId")
.HasColumnType("int");
b.Property("RerollAmount")
.HasColumnType("int");
b.Property("StatusAmount")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("AccessoryRoll", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.AccessoryRollStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("AccessoryRollAssetId")
.HasColumnType("bigint");
b.Property("MaxValue")
.HasColumnType("int");
b.Property("MinValue")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("AccessoryRollAssetId");
b.ToTable("AccessoryRollStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Amount")
.HasColumnType("int");
b.Property("ItemId")
.HasColumnType("int");
b.Property("RequiredCoins")
.HasColumnType("tinyint");
b.Property("RewardId")
.HasColumnType("bigint");
b.HasKey("Id");
b.HasIndex("RewardId");
b.ToTable("ArenaDailyItemReward", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ArenaRankingDailyItemRewardsDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("WeekDay")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("ArenaDailyItemRewards", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.BuffAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("BuffId")
.HasColumnType("int");
b.Property("Class")
.HasColumnType("smallint");
b.Property("ConditionLevel")
.HasColumnType("int");
b.Property("DigimonSkillCode")
.HasColumnType("int");
b.Property("LifeType")
.HasColumnType("int");
b.Property("MinLevel")
.HasColumnType("int");
b.Property("Name")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property("SkillCode")
.HasColumnType("int");
b.Property("TimeType")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Buff", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CharacterBaseStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ARValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ASValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ATValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("BLValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DEValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EVValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HPValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("MSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Type")
.HasColumnType("int");
b.Property("WSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.ToTable("CharacterBaseStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CharacterLevelStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ARValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ASValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ATValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("BLValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DEValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EVValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ExpValue")
.HasColumnType("bigint");
b.Property("HPValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Level")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint")
.HasDefaultValue((byte)1);
b.Property("MSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Type")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(80001);
b.Property("WSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.ToTable("CharacterLevelStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CloneAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Bits")
.HasColumnType("bigint");
b.Property("ItemSection")
.HasColumnType("int");
b.Property("MaxLevel")
.HasColumnType("tinyint");
b.Property("MinLevel")
.HasColumnType("tinyint");
b.HasKey("Id");
b.ToTable("Clone", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.CloneValueAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("MaxLevel")
.HasColumnType("tinyint");
b.Property("MaxValue")
.HasColumnType("int");
b.Property("MinLevel")
.HasColumnType("tinyint");
b.Property("MinValue")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("CloneValue", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ItemId")
.HasColumnType("int");
b.Property("ItemName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar");
b.Property("RewardAmount")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Container", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ContainerRewardAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Chance")
.ValueGeneratedOnAdd()
.HasColumnType("numeric(9,2)")
.HasDefaultValue(0m);
b.Property("ContainerAssetId")
.HasColumnType("bigint");
b.Property("ItemId")
.HasColumnType("int");
b.Property("ItemName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("varchar");
b.Property("MaxAmount")
.HasColumnType("int");
b.Property("MinAmount")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Rare")
.HasColumnType("bit");
b.HasKey("Id");
b.HasIndex("ContainerAssetId");
b.ToTable("ContainerReward", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DigimonBaseInfoAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ARValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ASValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ATValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Attribute")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(1);
b.Property("BLValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DEValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EVValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Element")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EvolutionType")
.HasColumnType("int");
b.Property("Family1")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Family2")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Family3")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HPValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Level")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint")
.HasDefaultValue((byte)1);
b.Property("MSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Model")
.HasColumnType("int");
b.Property("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("varchar");
b.Property("ScaleType")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint")
.HasDefaultValue((byte)0);
b.Property("Type")
.HasColumnType("int");
b.Property("WSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.ToTable("DigimonBaseInfo", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DigimonLevelStatusAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ARValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ASValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ATValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("BLValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("CTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DEValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("DSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("EVValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ExpValue")
.HasColumnType("bigint");
b.Property("HPValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("HTValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("Level")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint")
.HasDefaultValue((byte)1);
b.Property("MSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.Property("ScaleType")
.HasColumnType("int");
b.Property("StatusId")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.Property("WSValue")
.ValueGeneratedOnAdd()
.HasColumnType("int")
.HasDefaultValue(0);
b.HasKey("Id");
b.ToTable("DigimonLevelStatus", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.DigimonSkillAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("SkillId")
.HasColumnType("int");
b.Property("Slot")
.HasColumnType("tinyint");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("DigimonSkill", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionArmorAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Amount")
.HasColumnType("int");
b.Property("Chance")
.HasColumnType("int");
b.Property("ItemId")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("EvolutionArmor", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("EvolutionRank")
.HasColumnType("int");
b.Property("Type")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Evolution", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionLineAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("EvolutionId")
.HasColumnType("bigint");
b.Property("RequiredAmount")
.HasColumnType("int");
b.Property("RequiredItem")
.HasColumnType("int");
b.Property("SlotLevel")
.HasColumnType("tinyint");
b.Property("Type")
.HasColumnType("int");
b.Property("UnlockItemSection")
.HasColumnType("int");
b.Property("UnlockItemSectionAmount")
.HasColumnType("int");
b.Property("UnlockLevel")
.HasColumnType("tinyint");
b.Property("UnlockQuestId")
.HasColumnType("smallint");
b.HasKey("Id");
b.HasIndex("EvolutionId");
b.ToTable("EvolutionLine", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.EvolutionStageAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("EvolutionLineId")
.HasColumnType("bigint");
b.Property("Type")
.HasColumnType("int");
b.Property("Value")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("EvolutionLineId");
b.ToTable("EvolutionStage", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("DigimonId")
.HasColumnType("int");
b.Property("ExtraInfoId")
.HasColumnType("bigint");
b.Property("Price")
.HasColumnType("bigint");
b.Property("RequiredLevel")
.HasColumnType("tinyint");
b.HasKey("Id");
b.HasIndex("ExtraInfoId");
b.ToTable("ExtraEvolution", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionInformationAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ExtraNpcId")
.HasColumnType("bigint");
b.Property("IndexId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("ExtraNpcId");
b.ToTable("ExtraEvolutionInformation", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionMaterialAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Amount")
.HasColumnType("int");
b.Property("ExtraEvolutionId")
.HasColumnType("bigint");
b.Property("ItemId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("ExtraEvolutionId");
b.ToTable("ExtraEvolutionMaterial", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionNpcAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("NpcId")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("ExtraEvolutionNpc", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.ExtraEvolutionRequiredAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Amount")
.HasColumnType("int");
b.Property("ExtraEvolutionId")
.HasColumnType("bigint");
b.Property("ItemId")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("ExtraEvolutionId");
b.ToTable("ExtraEvolutionRequired", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("Chance")
.HasColumnType("smallint");
b.Property("GotchaId")
.HasColumnType("int");
b.Property("Limit")
.HasColumnType("smallint");
b.Property("MaxLv")
.HasColumnType("smallint");
b.Property("MinLv")
.HasColumnType("smallint");
b.Property("NpcId")
.HasColumnType("int");
b.Property("RareItemCnt")
.HasColumnType("smallint");
b.Property("UseCount")
.HasColumnType("int");
b.Property("UseItem")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("Gotcha", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaItemsAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("GotchaId")
.HasColumnType("int");
b.Property("InitialQuanty")
.HasColumnType("int");
b.Property("ItemCount")
.HasColumnType("int");
b.Property("ItemId")
.HasColumnType("int");
b.Property("Name")
.IsRequired()
.HasColumnType("text");
b.Property("Quanty")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("GotchaId");
b.ToTable("GotchaItems", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.GotchaRareItemsAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("GotchaId")
.HasColumnType("int");
b.Property("Name")
.IsRequired()
.HasColumnType("text");
b.Property("RareItem")
.HasColumnType("int");
b.Property("RareItemCnt")
.HasColumnType("smallint");
b.Property("RareItemGive")
.HasColumnType("smallint");
b.HasKey("Id");
b.HasIndex("GotchaId");
b.ToTable("GotchaRareItems", "Asset");
});
modelBuilder.Entity("ODMO.Commons.DTOs.Assets.HatchAssetDTO", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ItemId")
.HasColumnType("int");
b.Property("HatchType")
.HasColumnType("int");
b.Property("LowClassDataSection")
.HasColumnType("int");
b.Property