// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using UserMicroservice.Models; #nullable disable namespace UserMicroservice.Migrations { [DbContext(typeof(ApplicationDbContext))] partial class ApplicationDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.2") .HasAnnotation("Relational:MaxIdentifierLength", 64); modelBuilder.Entity("UserMicroservice.Models.RefreshToken", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<DateTime>("ExpirationDate") .HasColumnType("datetime(6)"); b.Property<string>("Token") .IsRequired() .HasColumnType("longtext"); b.Property<int>("UserId") .HasColumnType("int"); b.HasKey("Id"); b.ToTable("RefreshTokens"); }); modelBuilder.Entity("UserMicroservice.Models.User", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("int"); b.Property<string>("Email") .IsRequired() .HasColumnType("longtext"); b.Property<string>("PasswordHash") .IsRequired() .HasColumnType("longtext"); b.Property<int>("Type") .HasColumnType("int"); b.Property<string>("Username") .IsRequired() .HasColumnType("longtext"); b.HasKey("Id"); b.ToTable("Users"); }); #pragma warning restore 612, 618 } } }