mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-13 23:14:57 +01:00
chaapter dbs but no tuse dyet
This commit is contained in:
@@ -21,6 +21,95 @@ namespace BLHX.Server.Common.Migrations.Player
|
||||
.HasAnnotation("Proxies:CheckEquality", false)
|
||||
.HasAnnotation("Proxies:LazyLoading", true);
|
||||
|
||||
modelBuilder.Entity("BLHX.Server.Common.Database.ChapterInfo", b =>
|
||||
{
|
||||
b.Property<uint>("Id")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<uint>("PlayerUid")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("AiLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("BattleStatistics")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("BuffLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("CellFlagLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("CellLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<uint>("ChapterHp")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("ChapterStrategyLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<uint>("ContinuousKillCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("EscortLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("ExtraFlagLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("FleetDuties")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("GroupLists")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<uint>("InitShipCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("IsSubmarineAutoAttack")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<uint>("KillCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<uint>("LoopFlag")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<uint>("ModelActCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<uint>("MoveStepCount")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("OperationBuffs")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<uint>("Round")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTime>("Time")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id", "PlayerUid");
|
||||
|
||||
b.HasIndex("PlayerUid");
|
||||
|
||||
b.ToTable("ChapterInfoes");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BLHX.Server.Common.Database.Player", b =>
|
||||
{
|
||||
b.Property<uint>("Uid")
|
||||
@@ -36,6 +125,9 @@ namespace BLHX.Server.Common.Migrations.Player
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<uint?>("CurrentChapter")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("DisplayInfo")
|
||||
.IsRequired()
|
||||
.HasColumnType("jsonb");
|
||||
@@ -208,6 +300,17 @@ namespace BLHX.Server.Common.Migrations.Player
|
||||
b.ToTable("ResourceFields");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BLHX.Server.Common.Database.ChapterInfo", b =>
|
||||
{
|
||||
b.HasOne("BLHX.Server.Common.Database.Player", "Player")
|
||||
.WithMany("ChapterInfoes")
|
||||
.HasForeignKey("PlayerUid")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Player");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BLHX.Server.Common.Database.PlayerResource", b =>
|
||||
{
|
||||
b.HasOne("BLHX.Server.Common.Database.Player", "Player")
|
||||
@@ -243,6 +346,8 @@ namespace BLHX.Server.Common.Migrations.Player
|
||||
|
||||
modelBuilder.Entity("BLHX.Server.Common.Database.Player", b =>
|
||||
{
|
||||
b.Navigation("ChapterInfoes");
|
||||
|
||||
b.Navigation("ResourceFields");
|
||||
|
||||
b.Navigation("Resources");
|
||||
|
||||
Reference in New Issue
Block a user