Files
DugunSalonu/Migrations/20250807211734_mig2.Designer.cs
2025-08-08 12:31:51 +03:00

131 lines
4.3 KiB
C#

// <auto-generated />
using DugunSalonu.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace DugunSalonu.Migrations
{
[DbContext(typeof(dugunsalonuContext))]
[Migration("20250807211734_mig2")]
partial class mig2
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "9.0.7")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("DugunSalonu.Models.Kullanici", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<string>("Adi")
.IsRequired()
.HasColumnType("text");
b.Property<bool>("Admin")
.HasColumnType("boolean");
b.Property<bool>("Aktif")
.HasColumnType("boolean");
b.Property<string>("CepTel")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("character varying(10)");
b.Property<string>("Eposta")
.IsRequired()
.HasColumnType("text");
b.Property<string>("KullaniciAdi")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("character varying(50)");
b.Property<string>("Parola")
.IsRequired()
.HasColumnType("text");
b.Property<string>("Soyadi")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("Kullanici");
});
modelBuilder.Entity("DugunSalonu.Models.Salon", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<string>("adi")
.IsRequired()
.HasColumnType("text");
b.Property<string>("adres")
.IsRequired()
.HasColumnType("text");
b.Property<string>("ceptel")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("character varying(10)");
b.Property<string>("eposta")
.IsRequired()
.HasColumnType("text");
b.Property<int>("il")
.HasColumnType("integer");
b.Property<int>("ilce")
.HasColumnType("integer");
b.Property<string>("mail")
.IsRequired()
.HasColumnType("text");
b.Property<string>("telefon")
.IsRequired()
.HasColumnType("text");
b.Property<string>("vergidairesi")
.IsRequired()
.HasColumnType("text");
b.Property<string>("verginumarasi")
.IsRequired()
.HasColumnType("text");
b.Property<string>("webadres")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");
b.ToTable("salon");
});
#pragma warning restore 612, 618
}
}
}