125 lines
3.9 KiB
C#
125 lines
3.9 KiB
C#
|
|
// <auto-generated />
|
|||
|
|
using System;
|
|||
|
|
using ApplianceRepair;
|
|||
|
|
using Microsoft.EntityFrameworkCore;
|
|||
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
|
|
|||
|
|
#nullable disable
|
|||
|
|
|
|||
|
|
namespace ApplianceRepair.Migrations
|
|||
|
|
{
|
|||
|
|
[DbContext(typeof(DatabaseContext))]
|
|||
|
|
[Migration("20260202020516_InitialCreate")]
|
|||
|
|
partial class InitialCreate
|
|||
|
|
{
|
|||
|
|
/// <inheritdoc />
|
|||
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|||
|
|
{
|
|||
|
|
#pragma warning disable 612, 618
|
|||
|
|
modelBuilder.HasAnnotation("ProductVersion", "9.0.12");
|
|||
|
|
|
|||
|
|
modelBuilder.Entity("ApplianceRepair.BusinessConfigRecord", b =>
|
|||
|
|
{
|
|||
|
|
b.Property<int>("Id")
|
|||
|
|
.ValueGeneratedOnAdd()
|
|||
|
|
.HasColumnType("INTEGER");
|
|||
|
|
|
|||
|
|
b.Property<DateTime>("CreatedAt")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("Name")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("PhoneNumber")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("SupportEmail")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<DateTime>("UpdatedAt")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.HasKey("Id");
|
|||
|
|
|
|||
|
|
b.ToTable("BusinessConfig");
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
modelBuilder.Entity("ApplianceRepair.ContentCardRecord", b =>
|
|||
|
|
{
|
|||
|
|
b.Property<int>("Id")
|
|||
|
|
.ValueGeneratedOnAdd()
|
|||
|
|
.HasColumnType("INTEGER");
|
|||
|
|
|
|||
|
|
b.Property<string>("BelongsToPage")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<DateTime>("CreatedAt")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("Group")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("Header")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("Text")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<DateTime>("UpdatedAt")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.HasKey("Id");
|
|||
|
|
|
|||
|
|
b.ToTable("ContentCards");
|
|||
|
|
});
|
|||
|
|
|
|||
|
|
modelBuilder.Entity("ApplianceRepair.HomePageRecord", b =>
|
|||
|
|
{
|
|||
|
|
b.Property<int>("Id")
|
|||
|
|
.ValueGeneratedOnAdd()
|
|||
|
|
.HasColumnType("INTEGER");
|
|||
|
|
|
|||
|
|
b.Property<string>("CopyrightText")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<DateTime>("CreatedAt")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderButton1Link")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderButton1Text")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderButton2Link")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderButton2Text")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderLine1")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderLine2")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("HeaderText")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<string>("SecondaryHeaderText")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.Property<DateTime>("UpdatedAt")
|
|||
|
|
.HasColumnType("TEXT");
|
|||
|
|
|
|||
|
|
b.HasKey("Id");
|
|||
|
|
|
|||
|
|
b.ToTable("HomePage");
|
|||
|
|
});
|
|||
|
|
#pragma warning restore 612, 618
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|