58 lines
1.8 KiB
C#
58 lines
1.8 KiB
C#
|
// <auto-generated />
|
|||
|
using System;
|
|||
|
using DamageAssesment.Api.Attachments.Db;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace DamageAssesment.Api.Attachments.Migrations
|
|||
|
{
|
|||
|
[DbContext(typeof(AttachmentsDbContext))]
|
|||
|
partial class AttachmentsDbContextModelSnapshot : ModelSnapshot
|
|||
|
{
|
|||
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder
|
|||
|
.HasAnnotation("ProductVersion", "7.0.9")
|
|||
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|||
|
|
|||
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|||
|
|
|||
|
modelBuilder.Entity("DamageAssesment.Api.Attachments.Db.Attachment", b =>
|
|||
|
{
|
|||
|
b.Property<int>("Id")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
|||
|
|
|||
|
b.Property<int?>("AnswerId")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<string>("FileName")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.Property<bool>("IsDeleted")
|
|||
|
.HasColumnType("bit");
|
|||
|
|
|||
|
b.Property<int>("ResponseId")
|
|||
|
.HasColumnType("int");
|
|||
|
|
|||
|
b.Property<string>("URI")
|
|||
|
.IsRequired()
|
|||
|
.HasColumnType("nvarchar(max)");
|
|||
|
|
|||
|
b.HasKey("Id");
|
|||
|
|
|||
|
b.ToTable("Attachments");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|