// using System; using Assignment3.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace Assignment3.Migrations { [DbContext(typeof(Assignment3Context))] partial class Assignment3ContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "6.0.35") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); modelBuilder.Entity("Assignment3.Models.Immunization", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("CreationTime") .HasColumnType("datetimeoffset"); b.Property("ExpirationDate") .HasColumnType("datetimeoffset"); b.Property("LotNumber") .IsRequired() .HasMaxLength(255) .HasColumnType("nvarchar(255)"); b.Property("OfficialName") .IsRequired() .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.Property("TradeName") .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.Property("UpdatedTime") .HasColumnType("datetimeoffset"); b.HasKey("Id"); b.ToTable("Immunization"); }); modelBuilder.Entity("Assignment3.Models.Organization", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("Address") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreationTime") .HasColumnType("datetimeoffset"); b.Property("Name") .IsRequired() .HasMaxLength(256) .HasColumnType("nvarchar(256)"); b.Property("Type") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("Id"); b.ToTable("Organization"); }); modelBuilder.Entity("Assignment3.Models.Patient", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("CreationTime") .HasColumnType("datetimeoffset"); b.Property("DateOfBirth") .HasColumnType("datetimeoffset"); b.Property("FirstName") .IsRequired() .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.Property("LastName") .IsRequired() .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.HasKey("Id"); b.ToTable("Patient"); }); modelBuilder.Entity("Assignment3.Models.Provider", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); b.Property("Address") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreationTime") .HasColumnType("datetimeoffset"); b.Property("FirstName") .IsRequired() .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.Property("LastName") .IsRequired() .HasMaxLength(128) .HasColumnType("nvarchar(128)"); b.Property("LicenseNumber") .HasColumnType("bigint"); b.HasKey("Id"); b.ToTable("Provider"); }); #pragma warning restore 612, 618 } } }