//
using Infrastructure.Persistence;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace Infrastructure.Migrations
{
[DbContext(typeof(CardDbContext))]
partial class CardDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "7.0.2");
modelBuilder.Entity("Domain.Entities.CardBdatum", b =>
{
b.Property("CardId")
.HasColumnType("INTEGER")
.HasColumnName("card_id");
b.Property("Bdata")
.HasColumnType("TEXT")
.HasColumnName("bdata");
b.Property("BdataSize")
.HasColumnType("INTEGER")
.HasColumnName("bdata_size");
b.HasKey("CardId");
b.ToTable("card_bdata", (string)null);
});
modelBuilder.Entity("Domain.Entities.CardDetail", b =>
{
b.Property("CardId")
.HasColumnType("INTEGER")
.HasColumnName("card_id");
b.Property("Pcol1")
.HasColumnType("INTEGER")
.HasColumnName("pcol1");
b.Property("Pcol2")
.HasColumnType("INTEGER")
.HasColumnName("pcol2");
b.Property("Pcol3")
.HasColumnType("INTEGER")
.HasColumnName("pcol3");
b.Property("Fcol1")
.HasColumnType("INTEGER")
.HasColumnName("fcol1");
b.Property("Fcol2")
.HasColumnType("INTEGER")
.HasColumnName("fcol2");
b.Property("Fcol3")
.HasColumnType("INTEGER")
.HasColumnName("fcol3");
b.Property("LastPlayTenpoId")
.HasColumnType("TEXT")
.HasColumnName("last_play_tenpo_id");
b.Property("LastPlayTime")
.HasColumnType("INTEGER")
.HasColumnName("last_play_time");
b.Property("ScoreBi1")
.HasColumnType("INTEGER")
.HasColumnName("score_bi1");
b.Property("ScoreI1")
.HasColumnType("INTEGER")
.HasColumnName("score_i1");
b.Property("ScoreUi1")
.HasColumnType("INTEGER")
.HasColumnName("score_ui1");
b.Property("ScoreUi2")
.HasColumnType("INTEGER")
.HasColumnName("score_ui2");
b.Property("ScoreUi3")
.HasColumnType("INTEGER")
.HasColumnName("score_ui3");
b.Property("ScoreUi4")
.HasColumnType("INTEGER")
.HasColumnName("score_ui4");
b.Property("ScoreUi5")
.HasColumnType("INTEGER")
.HasColumnName("score_ui5");
b.Property("ScoreUi6")
.HasColumnType("INTEGER")
.HasColumnName("score_ui6");
b.HasKey("CardId", "Pcol1", "Pcol2", "Pcol3");
b.ToTable("card_detail", (string)null);
});
modelBuilder.Entity("Domain.Entities.CardMain", b =>
{
b.Property("CardId")
.HasColumnType("INTEGER")
.HasColumnName("card_id");
b.Property("AchieveStatus")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("achieve_status");
b.Property("Created")
.HasColumnType("TEXT")
.HasColumnName("created");
b.Property("Fcol1")
.HasColumnType("INTEGER")
.HasColumnName("fcol1");
b.Property("Fcol2")
.HasColumnType("INTEGER")
.HasColumnName("fcol2");
b.Property("Fcol3")
.HasColumnType("INTEGER")
.HasColumnName("fcol3");
b.Property("Modified")
.HasColumnType("TEXT")
.HasColumnName("modified");
b.Property("PlayerName")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("player_name");
b.Property("ScoreI1")
.HasColumnType("INTEGER")
.HasColumnName("score_i1");
b.HasKey("CardId");
b.ToTable("card_main", (string)null);
});
modelBuilder.Entity("Domain.Entities.CardPlayCount", b =>
{
b.Property("CardId")
.HasColumnType("INTEGER")
.HasColumnName("card_id");
b.Property("LastPlayedTime")
.HasColumnType("INTEGER")
.HasColumnName("last_played_time");
b.Property("PlayCount")
.HasColumnType("INTEGER")
.HasColumnName("play_count");
b.HasKey("CardId");
b.ToTable("CardPlayCount", (string)null);
});
modelBuilder.Entity("Domain.Entities.PlayNumRank", b =>
{
b.Property("MusicId")
.HasColumnType("INTEGER");
b.Property("Artist")
.IsRequired()
.HasColumnType("TEXT");
b.Property("PlayCount")
.HasColumnType("INTEGER");
b.Property("PrevRank")
.HasColumnType("INTEGER");
b.Property("PrevRank2")
.HasColumnType("INTEGER");
b.Property("Rank")
.HasColumnType("INTEGER");
b.Property("Rank2")
.HasColumnType("INTEGER");
b.Property("Title")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("MusicId");
b.ToTable("PlayNumRank", (string)null);
});
#pragma warning restore 612, 618
}
}
}