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:
Suphonchai Phoonsawat 2026-02-11 09:44:18 +07:00
parent 05ec0cccce
commit 682c88c2db
4 changed files with 1795 additions and 2 deletions

View file

@ -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")