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

@ -30,6 +30,9 @@ namespace BMA.EHR.Domain.Models.Leave.Requests
[Required, Comment("จำนวนวันลาที่ใช้ไป")]
public double LeaveDaysUsed { get; set; } = 0.0;
[Comment("จำนวนครั้งที่ลาสะสม")]
public int LeaveCount { get; set; } = 0;
public Guid? RootDnaId { get; set; }
public Guid? Child1DnaId { get; set; }