Add BeginningLeaveCount and BeginningLeaveDays to LeaveBeginnings table
- Altered LeaveDays column to update its comment. - Added BeginningLeaveCount column to track the number of leave occurrences. - Added BeginningLeaveDays column to store the total days of leave carried over.
This commit is contained in:
parent
05ec0cccce
commit
682c88c2db
4 changed files with 1795 additions and 2 deletions
|
|
@ -128,6 +128,14 @@ namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<int>("BeginningLeaveCount")
|
||||
.HasColumnType("int")
|
||||
.HasComment("จำนวนครั้งที่ลายกมา");
|
||||
|
||||
b.Property<double>("BeginningLeaveDays")
|
||||
.HasColumnType("double")
|
||||
.HasComment("จำนวนวันลายกมา");
|
||||
|
||||
b.Property<Guid?>("Child1DnaId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -190,7 +198,7 @@ namespace BMA.EHR.Infrastructure.Migrations.LeaveDb
|
|||
|
||||
b.Property<double>("LeaveDays")
|
||||
.HasColumnType("double")
|
||||
.HasComment("จำนวนวันลายกมา");
|
||||
.HasComment("จำนวนวันลาทั้งหมด");
|
||||
|
||||
b.Property<double>("LeaveDaysUsed")
|
||||
.HasColumnType("double")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue