/
nicteres
/
Lab1
Обзор
Документация
Войти
/
nicteres
/
Lab1
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
123
API_Lab_1/Migrations/AppDbContextModelSnapshot.cs
108 строк
3 KB
Matthew
Добавьте файлы проекта.
18 окт 2025, 18:03
18 окт 2025, 18:03
79e10ad
Код
Авторство
О чём код?
// <auto-generated /> using System; using API_Lab_1.src; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace API_Lab_1.Migrations { [DbContext(typeof(AppDbContext))] partial class AppDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder.HasAnnotation("ProductVersion", "9.0.9"); modelBuilder.Entity("API_Lab_1.src.Models.RequestModel", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property<DateTime>("CreateTime") .HasColumnType("TEXT"); b.Property<string>("Data") .IsRequired() .HasColumnType("TEXT"); b.Property<int>("Request_Type") .HasColumnType("INTEGER"); b.Property<string>("Request_id") .IsRequired() .HasColumnType("TEXT"); b.Property<int>("usesAllowed") .HasColumnType("INTEGER"); b.HasKey("Id"); b.ToTable("Requests", (string)null); }); modelBuilder.Entity("API_Lab_1.src.Models.ShelfModel", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property<DateTime>("Aquiring_Time") .HasColumnType("TEXT"); b.Property<bool>("Available") .HasColumnType("INTEGER"); b.Property<string>("Description") .IsRequired() .HasColumnType("TEXT"); b.Property<string>("Name") .IsRequired() .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Shelf", (string)null); }); modelBuilder.Entity("API_Lab_1.src.Models.UserModel", b => { b.Property<int>("Id") .ValueGeneratedOnAdd() .HasColumnType("INTEGER"); b.Property<string>("Email") .IsRequired() .HasColumnType("TEXT"); b.Property<string>("Password") .IsRequired() .HasColumnType("TEXT"); b.Property<string>("RefreshToken") .HasColumnType("TEXT"); b.Property<DateTime?>("RefreshTokenExpiryTime") .HasColumnType("TEXT"); b.Property<string>("Role") .IsRequired() .HasColumnType("TEXT"); b.Property<string>("UserName") .IsRequired() .HasColumnType("TEXT"); b.HasKey("Id"); b.ToTable("Users", (string)null); }); #pragma warning restore 612, 618 } } }