fix ui
All checks were successful
Deploy on Master Change / deploy (push) Successful in 1m30s

This commit is contained in:
2026-07-14 07:39:18 +07:00
parent 7d3fdefa3f
commit 487e9eb8ea
9 changed files with 145 additions and 17 deletions

View File

@@ -255,4 +255,16 @@ type AppGuide struct {
func (AppGuide) TableName() string { return "app_guides" }
// LocalLeaveRequest lưu trạng thái phê duyệt đơn xin nghỉ phép trên hệ thống nội bộ thay vì call QLĐT
type LocalLeaveRequest struct {
ID uint `gorm:"primaryKey" json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
LeaveID int64 `gorm:"column:leave_id;uniqueIndex;not null" json:"leaveId"`
Status string `gorm:"column:status;size:32;not null" json:"status"` // "Phê duyệt" hoặc "Từ chối"
}
func (LocalLeaveRequest) TableName() string { return "local_leave_requests" }