1050 lines
37 KiB
C#
1050 lines
37 KiB
C#
|
// <auto-generated />
|
|||
|
using System;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
using SCHALE.Common.Database;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace SCHALE.Common.Migrations.SqlServerMigrations
|
|||
|
{
|
|||
|
[DbContext(typeof(SCHALEContext))]
|
|||
|
[Migration("20241229024747_Currency_Raid_Dungeons_and_Campaign")]
|
|||
|
partial class Currency_Raid_Dungeons_and_Campaign
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder
|
|||
|
.HasAnnotation("ProductVersion", "8.0.6")
|
|||
|
.HasAnnotation("Proxies:ChangeTracking", false)
|
|||
|
.HasAnnotation("Proxies:CheckEquality", false)
|
|||
|
.HasAnnotation("Proxies:LazyLoading", true)
|
|||
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|||
|
|
|||
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.AccountCurrencyDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AcademyLocationRankSum")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("AccountLevel")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("CurrencyDict")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("UpdateTimeDict")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Currencies");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<DateTime>("BirthDay")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<string>("CallName")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime>("CallNameUpdateTime")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<string>("Comment")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime>("CreateDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<string>("DevId")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<long>("Exp")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<DateTime>("LastConnectTime")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<int>("Level")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<DateTime?>("LinkRewardDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<int?>("LobbyMode")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("MemoryLobbyUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("Nickname")
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<long>("PublisherAccountId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("RaidInfo")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<long>("RepresentCharacterServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int?>("RetentionDays")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("State")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int?>("UnReadMailCount")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int?>("VIPLevel")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.ToTable("Accounts");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("CafeDBId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("CafeDBId"));
|
|||
|
|
|||
|
b.Property<long>("AccountId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("CafeId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("CafeRank")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<string>("CafeVisitCharacterDBs")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("CurrencyDict_Obsolete")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime?>("LastSummonDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<DateTime>("LastUpdate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<DateTime>("ProductionAppliedTime")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<string>("UpdateTimeDict_Obsolete")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("CafeDBId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Cafes");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.CampaignStageHistoryDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("ChapterUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("ClearTurnRecord")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<DateTime?>("FirstClearRewardReceive")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<DateTime>("LastPlay")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<long>("StageUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<bool>("Star1Flag")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<bool>("Star2Flag")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<bool>("Star3Flag")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<DateTime?>("StarRewardReceive")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<long>("StoryUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("TacticClearCountWithRankSRecord")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("TodayPlayCount")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("TodayPurchasePlayCountHardStage")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("CampaignStageHistories");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("EquipmentServerIds")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("EquipmentSlotAndDBIds")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<int>("ExSkillLevel")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("Exp")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("ExtraPassiveSkillLevel")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("FavorExp")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("FavorRank")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<bool>("IsFavorite")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<int>("LeaderSkillLevel")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("Level")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("PassiveSkillLevel")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<string>("PotentialStats")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<int>("PublicSkillLevel")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("StarGrade")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Characters");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.EchelonDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("CombatStyleIndex")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<long>("EchelonNumber")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("EchelonType")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("ExtensionType")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("LeaderServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("MainSlotServerIds")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("SkillCardMulliganCharacterIds")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("SupportSlotServerIds")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<long>("TSSInteractionServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("UsingFlag")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Echelons");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.EquipmentDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("BoundCharacterServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("Exp")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("Level")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("StackCount")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("Tier")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Equipment");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.FurnitureDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("CafeDBId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("ItemDeploySequence")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("Location")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<float>("PositionX")
|
|||
|
.HasColumnType("real");
|
|||
|
|
|||
|
b.Property<float>("PositionY")
|
|||
|
.HasColumnType("real");
|
|||
|
|
|||
|
b.Property<float>("Rotation")
|
|||
|
.HasColumnType("real");
|
|||
|
|
|||
|
b.Property<long>("StackCount")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Furnitures");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.GearDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("BoundCharacterServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("Exp")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("Level")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("SlotIndex")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("Tier")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Gears");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.ItemDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("StackCount")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Items");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MailDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("Comment")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime?>("ExpireDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<DateTime?>("ReceiptDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<DateTime>("SendDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<string>("Sender")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<int>("Type")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Mails");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("MemoryLobbyUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("MemoryLobbies");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MissionProgressDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<bool>("Complete")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<long>("MissionUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("ProgressParameters")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<DateTime>("StartTime")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("MissionProgresses");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.Models.AccountTutorial", b =>
|
|||
|
{
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("TutorialIds")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("AccountTutorials");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.Models.GuestAccount", b =>
|
|||
|
{
|
|||
|
b.Property<long>("Uid")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Uid"));
|
|||
|
|
|||
|
b.Property<string>("DeviceId")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("Token")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("Uid");
|
|||
|
|
|||
|
b.ToTable("GuestAccounts");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MultiFloorRaidDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("ClearBattleFrame")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("ClearedDifficulty")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<DateTime>("LastClearDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<DateTime>("LastRewardDate")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<int>("RewardDifficulty")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("SeasonId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("TotalReceivableRewards")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<string>("TotalReceivedRewards")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("MultiFloorRaids");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.ScenarioGroupHistoryDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<DateTime>("ClearDateTime")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<long?>("EventContentId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<bool>("IsReturn")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<long>("ScenarioGroupUqniueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("ScenarioType")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("ScenarioGroupHistoryDB");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<DateTime>("ClearDateTime")
|
|||
|
.HasColumnType("datetime2");
|
|||
|
|
|||
|
b.Property<long>("ScenarioUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Scenarios");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.SchoolDungeonStageHistoryDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("StageUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("StarFlags")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("SchoolDungeonStageHistories");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("BoundCharacterServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("Exp")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<int>("Level")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<int>("StarGrade")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<long>("UniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("Weapons");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.WeekDungeonStageHistoryDB", b =>
|
|||
|
{
|
|||
|
b.Property<long>("ServerId")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("ServerId"));
|
|||
|
|
|||
|
b.Property<long>("AccountServerId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<long>("StageUniqueId")
|
|||
|
.HasColumnType("bigint");
|
|||
|
|
|||
|
b.Property<string>("StarGoalRecord")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("ServerId");
|
|||
|
|
|||
|
b.HasIndex("AccountServerId");
|
|||
|
|
|||
|
b.ToTable("WeekDungeonStageHistories");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.AccountCurrencyDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Currencies")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.CafeDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Cafes")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.CampaignStageHistoryDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("CampaignStageHistories")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.CharacterDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Characters")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.EchelonDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Echelons")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.EquipmentDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Equipment")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.FurnitureDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Furnitures")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.GearDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Gears")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.ItemDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Items")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MailDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Mails")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MemoryLobbyDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("MemoryLobbies")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MissionProgressDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("MissionProgresses")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.MultiFloorRaidDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("MultiFloorRaids")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.ScenarioGroupHistoryDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("ScenarioGroups")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.ScenarioHistoryDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Scenarios")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.SchoolDungeonStageHistoryDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("SchoolDungeonStageHistories")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.WeaponDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("Weapons")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.WeekDungeonStageHistoryDB", b =>
|
|||
|
{
|
|||
|
b.HasOne("SCHALE.Common.Database.AccountDB", "Account")
|
|||
|
.WithMany("WeekDungeonStageHistories")
|
|||
|
.HasForeignKey("AccountServerId")
|
|||
|
.OnDelete(DeleteBehavior.Cascade)
|
|||
|
.IsRequired();
|
|||
|
|
|||
|
b.Navigation("Account");
|
|||
|
});
|
|||
|
|
|||
|
modelBuilder.Entity("SCHALE.Common.Database.AccountDB", b =>
|
|||
|
{
|
|||
|
b.Navigation("Cafes");
|
|||
|
|
|||
|
b.Navigation("CampaignStageHistories");
|
|||
|
|
|||
|
b.Navigation("Characters");
|
|||
|
|
|||
|
b.Navigation("Currencies");
|
|||
|
|
|||
|
b.Navigation("Echelons");
|
|||
|
|
|||
|
b.Navigation("Equipment");
|
|||
|
|
|||
|
b.Navigation("Furnitures");
|
|||
|
|
|||
|
b.Navigation("Gears");
|
|||
|
|
|||
|
b.Navigation("Items");
|
|||
|
|
|||
|
b.Navigation("Mails");
|
|||
|
|
|||
|
b.Navigation("MemoryLobbies");
|
|||
|
|
|||
|
b.Navigation("MissionProgresses");
|
|||
|
|
|||
|
b.Navigation("MultiFloorRaids");
|
|||
|
|
|||
|
b.Navigation("ScenarioGroups");
|
|||
|
|
|||
|
b.Navigation("Scenarios");
|
|||
|
|
|||
|
b.Navigation("SchoolDungeonStageHistories");
|
|||
|
|
|||
|
b.Navigation("Weapons");
|
|||
|
|
|||
|
b.Navigation("WeekDungeonStageHistories");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|