Add LeaveType Seeder

This commit is contained in:
Suphonchai Phoonsawat 2023-11-28 12:28:20 +07:00
parent ef66c28f0e
commit 8037ad7e1e
11 changed files with 1111 additions and 2 deletions

View file

@ -62,6 +62,11 @@ namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
.HasComment("PrimaryKey")
.HasAnnotation("Relational:JsonPropertyName", "id");
b.Property<string>("Code")
.IsRequired()
.HasColumnType("longtext")
.HasComment("รหัสประเภทการลา");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime(6)")
.HasColumnOrder(100)
@ -102,7 +107,8 @@ namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
b.Property<string>("Name")
.IsRequired()
.HasColumnType("longtext");
.HasColumnType("longtext")
.HasComment("ชื่อประเภทการลา");
b.HasKey("Id");