/
VFlov
/
NotificationService_1
Обзор
Документация
Войти
/
VFlov
/
NotificationService_1
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/Shared/NotificationService.Shared/Migrations/NotificationDbContextModelSnapshot.cs
79 строк
3 KB
VFlov
first_commit
27 ноя 2025, 11:43
27 ноя 2025, 11:43
819df67
Код
Авторство
О чём код?
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using NotificationService.Shared.Data; #nullable disable namespace NotificationService.Shared.Migrations { [DbContext(typeof(NotificationDbContext))] partial class NotificationDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { modelBuilder .HasAnnotation("ProductVersion", "10.0.0") .HasAnnotation("Relational:MaxIdentifierLength", 63); modelBuilder.UseIdentityByDefaultColumns(); modelBuilder.Entity("NotificationService.Shared.Models.NotificationRecord", b => { b.Property<Guid>("Id") .ValueGeneratedOnAdd() .HasColumnType("uuid"); b.Property<string>("Content") .IsRequired() .HasColumnType("text"); b.Property<DateTime>("CreatedAt") .HasColumnType("timestamp with time zone"); b.Property<string>("ErrorMessage") .HasMaxLength(2000) .HasColumnType("character varying(2000)"); b.Property<string>("MetadataJson") .HasColumnType("text"); b.Property<string>("Recipient") .IsRequired() .HasMaxLength(500) .HasColumnType("character varying(500)"); b.Property<int>("RetryCount") .HasColumnType("integer"); b.Property<DateTime?>("SentAt") .HasColumnType("timestamp with time zone"); b.Property<string>("Status") .IsRequired() .HasColumnType("text"); b.Property<string>("Subject") .HasMaxLength(500) .HasColumnType("character varying(500)"); b.Property<string>("Type") .IsRequired() .HasColumnType("text"); b.Property<DateTime?>("UpdatedAt") .HasColumnType("timestamp with time zone"); b.HasKey("Id"); b.HasIndex("CreatedAt"); b.HasIndex("Status"); b.HasIndex("Type"); b.ToTable("Notifications", (string)null); }); } } }