159 lines
5.6 KiB
C#
159 lines
5.6 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using lottery_co_uk_scraper.data;
|
|
|
|
#nullable disable
|
|
|
|
namespace lottery_co_uk_scraper.data.Migrations
|
|
{
|
|
[DbContext(typeof(LotteryContext))]
|
|
partial class LotteryContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "8.0.1")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|
|
|
modelBuilder.Entity("lottery_co_uk_scraper.core.Models.LottoResult", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
|
|
|
b.Property<int>("BallSetUsed")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<DateOnly>("DrawDate")
|
|
.HasColumnType("date");
|
|
|
|
b.Property<int>("DrawNumber")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBall1")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBall2")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBall3")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBall4")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBall5")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBall6")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("DrawnBonusBall")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MachineUsed")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal>("Matched2Prize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched2PrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched2RolldownPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched3Prize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched3PrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched3RolldownPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched4Prize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched4PrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched4RolldownPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched5PlusBonusPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched5PlusBonusPrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched5PlusBonusRolldownPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched5Prize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched5PrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched5RolldownPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched6Prize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched6PrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("Matched6RolldownPrize")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<bool>("Rolldown")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<bool>("Rollover")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<decimal>("TotalMatched2")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("TotalMatched3")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("TotalMatched4")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("TotalMatched5")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("TotalMatched5PlusBonus")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("TotalMatched6")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("TotalPrizeFund")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<int>("TotalWinners")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("LottoResults");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|