// using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using ProjectApi; #nullable disable namespace ProjectApi.Migrations { [DbContext(typeof(WorkItemContext))] partial class WorkItemContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "9.0.0"); modelBuilder.Entity("ProjectApi.Models.WorkItem", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property("Description") .IsRequired() .HasColumnType("TEXT"); b.Property("Status") .HasColumnType("INTEGER"); b.Property("Title") .IsRequired() .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("WorkItems"); }); #pragma warning restore 612, 618 } } }