Add LeaveCount column to LeaveBeginnings table

- Introduced a new column 'LeaveCount' of type int to the LeaveBeginnings table.
- Set default value to 0 and added a comment for clarity in Thai: "จำนวนครั้งที่ลาสะสม".
This commit is contained in:
Suphonchai Phoonsawat 2026-02-05 10:54:44 +07:00
parent 358fd47b99
commit 639d41649c
6 changed files with 1752 additions and 0 deletions

View file

@ -19,5 +19,8 @@ namespace BMA.EHR.Leave.Service.DTOs.LeaveBeginnings
[Required, Comment("จำนวนวันลาที่ใช้ไป")]
public double LeaveDaysUsed { get; set; } = 0.0;
[Required, Comment("จำนวนครั้งที่ลาสะสม")]
public int LeaveCount { get; set; } = 0;
}
}