Organizasyon Tablosu Eklendi.

This commit is contained in:
2025-08-15 00:08:26 +03:00
parent 663784484e
commit 3805d07494
6 changed files with 542 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ namespace DugunSalonu.Migrations
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "9.0.7")
.HasAnnotation("ProductVersion", "9.0.8")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
@@ -109,6 +109,95 @@ namespace DugunSalonu.Migrations
b.ToTable("kullanici");
});
modelBuilder.Entity("DugunSalonu.Models.Organizasyon", b =>
{
b.Property<int>("id")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("id"));
b.Property<string>("aciklama")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("character varying(400)");
b.Property<string>("adi")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("character varying(50)");
b.Property<int>("ceptel")
.HasMaxLength(10)
.HasColumnType("integer");
b.Property<int?>("ceptel2")
.HasMaxLength(10)
.HasColumnType("integer");
b.Property<string>("damatyore")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("character varying(30)");
b.Property<decimal>("fiyat")
.HasColumnType("numeric(18,2)");
b.Property<string>("gelinyore")
.IsRequired()
.HasMaxLength(30)
.HasColumnType("character varying(30)");
b.Property<int?>("iptal")
.HasColumnType("integer");
b.Property<string>("iptalaciklama")
.HasMaxLength(200)
.HasColumnType("character varying(200)");
b.Property<int?>("iptalkk")
.HasColumnType("integer");
b.Property<DateTime?>("iptalkts")
.HasColumnType("timestamp with time zone");
b.Property<int>("kk")
.HasColumnType("integer");
b.Property<DateTime>("kts")
.HasColumnType("timestamp with time zone");
b.Property<string>("organizasyondurum")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("character varying(10)");
b.Property<string>("organizasyonsaati")
.IsRequired()
.HasColumnType("text");
b.Property<DateOnly>("organizasyontarihi")
.HasColumnType("date");
b.Property<DateOnly>("rezervasyontarihi")
.HasColumnType("date");
b.Property<string>("soyadi")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("character varying(50)");
b.Property<byte[]>("sozlesme")
.HasColumnType("bytea");
b.Property<DateOnly>("sozlesmetarihi")
.HasColumnType("date");
b.HasKey("id");
b.ToTable("organizasyon");
});
modelBuilder.Entity("DugunSalonu.Models.Referans", b =>
{
b.Property<string>("adi")