//
using System;
using AspnetCoreMvcFull.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace AspnetCoreMvcFull.Migrations
{
[DbContext(typeof(AspnetCoreMvcFullContext))]
partial class AspnetCoreMvcFullContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.0");
modelBuilder.Entity("AspnetCoreMvcFull.Models.Transactions", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Customer")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("TEXT");
b.Property("DueDate")
.HasColumnType("TEXT");
b.Property("Status")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Total")
.HasColumnType("TEXT");
b.Property("TransactionDate")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Transactions");
});
#pragma warning restore 612, 618
}
}
}