Add LeaveType Seeder
This commit is contained in:
parent
ef66c28f0e
commit
8037ad7e1e
11 changed files with 1111 additions and 2 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue