using PayRollDAL.DTO.Leave; using PayRollDAL.DTO.TLeave; using PayRollDAL.DTO.YearlyCalendar; using System.Collections.Generic; namespace PayRollDAL.DTO.TeamCalendar { public class TeamCalendarMonthDTO { public long EmployeeId { get; set; } public string EmployeeCode { get; set; } = string.Empty; public string EmployeeName { get; set; } = string.Empty; public int? Year { get; set; } public int? MonthNumber { get; set; } public string Month { get; set; } public int? D1 { get; set; } public int? D2 { get; set; } public int? D3 { get; set; } public int? D4 { get; set; } public int? D5 { get; set; } public int? D6 { get; set; } public int? D7 { get; set; } public int? D8 { get; set; } public int? D9 { get; set; } public int? D10 { get; set; } public int? D11 { get; set; } public int? D12 { get; set; } public int? D13 { get; set; } public int? D14 { get; set; } public int? D15 { get; set; } public int? D16 { get; set; } public int? D17 { get; set; } public int? D18 { get; set; } public int? D19 { get; set; } public int? D20 { get; set; } public int? D21 { get; set; } public int? D22 { get; set; } public int? D23 { get; set; } public int? D24 { get; set; } public int? D25 { get; set; } public int? D26 { get; set; } public int? D27 { get; set; } public int? D28 { get; set; } public int? D29 { get; set; } public int? D30 { get; set; } public int? D31 { get; set; } public long? LeaveId1 { get; set; } public long? LeaveId2 { get; set; } public long? LeaveId3 { get; set; } public long? LeaveId4 { get; set; } public long? LeaveId5 { get; set; } public long? LeaveId6 { get; set; } public long? LeaveId7 { get; set; } public long? LeaveId8 { get; set; } public long? LeaveId9 { get; set; } public long? LeaveId10 { get; set; } public long? LeaveId11 { get; set; } public long? LeaveId12 { get; set; } public long? LeaveId13 { get; set; } public long? LeaveId14 { get; set; } public long? LeaveId15 { get; set; } public long? LeaveId16 { get; set; } public long? LeaveId17 { get; set; } public long? LeaveId18 { get; set; } public long? LeaveId19 { get; set; } public long? LeaveId20 { get; set; } public long? LeaveId21 { get; set; } public long? LeaveId22 { get; set; } public long? LeaveId23 { get; set; } public long? LeaveId24 { get; set; } public long? LeaveId25 { get; set; } public long? LeaveId26 { get; set; } public long? LeaveId27 { get; set; } public long? LeaveId28 { get; set; } public long? LeaveId29 { get; set; } public long? LeaveId30 { get; set; } public long? LeaveId31 { get; set; } public string LeaveCode1 { get; set; } public string LeaveCode2 { get; set; } public string LeaveCode3 { get; set; } public string LeaveCode4 { get; set; } public string LeaveCode5 { get; set; } public string LeaveCode6 { get; set; } public string LeaveCode7 { get; set; } public string LeaveCode8 { get; set; } public string LeaveCode9 { get; set; } public string LeaveCode10 { get; set; } public string LeaveCode11 { get; set; } public string LeaveCode12 { get; set; } public string LeaveCode13 { get; set; } public string LeaveCode14 { get; set; } public string LeaveCode15 { get; set; } public string LeaveCode16 { get; set; } public string LeaveCode17 { get; set; } public string LeaveCode18 { get; set; } public string LeaveCode19 { get; set; } public string LeaveCode20 { get; set; } public string LeaveCode21 { get; set; } public string LeaveCode22 { get; set; } public string LeaveCode23 { get; set; } public string LeaveCode24 { get; set; } public string LeaveCode25 { get; set; } public string LeaveCode26 { get; set; } public string LeaveCode27 { get; set; } public string LeaveCode28 { get; set; } public string LeaveCode29 { get; set; } public string LeaveCode30 { get; set; } public string LeaveCode31 { get; set; } public string LeaveName1 { get; set; } public string LeaveName2 { get; set; } public string LeaveName3 { get; set; } public string LeaveName4 { get; set; } public string LeaveName5 { get; set; } public string LeaveName6 { get; set; } public string LeaveName7 { get; set; } public string LeaveName8 { get; set; } public string LeaveName9 { get; set; } public string LeaveName10 { get; set; } public string LeaveName11 { get; set; } public string LeaveName12 { get; set; } public string LeaveName13 { get; set; } public string LeaveName14 { get; set; } public string LeaveName15 { get; set; } public string LeaveName16 { get; set; } public string LeaveName17 { get; set; } public string LeaveName18 { get; set; } public string LeaveName19 { get; set; } public string LeaveName20 { get; set; } public string LeaveName21 { get; set; } public string LeaveName22 { get; set; } public string LeaveName23 { get; set; } public string LeaveName24 { get; set; } public string LeaveName25 { get; set; } public string LeaveName26 { get; set; } public string LeaveName27 { get; set; } public string LeaveName28 { get; set; } public string LeaveName29 { get; set; } public string LeaveName30 { get; set; } public string LeaveName31 { get; set; } // Add these to TeamCalendarMonthDTO alongside existing fields public int? LateIn1 { get; set; } public int? LateIn2 { get; set; } public int? LateIn3 { get; set; } public int? LateIn4 { get; set; } public int? LateIn5 { get; set; } public int? LateIn6 { get; set; } public int? LateIn7 { get; set; } public int? LateIn8 { get; set; } public int? LateIn9 { get; set; } public int? LateIn10 { get; set; } public int? LateIn11 { get; set; } public int? LateIn12 { get; set; } public int? LateIn13 { get; set; } public int? LateIn14 { get; set; } public int? LateIn15 { get; set; } public int? LateIn16 { get; set; } public int? LateIn17 { get; set; } public int? LateIn18 { get; set; } public int? LateIn19 { get; set; } public int? LateIn20 { get; set; } public int? LateIn21 { get; set; } public int? LateIn22 { get; set; } public int? LateIn23 { get; set; } public int? LateIn24 { get; set; } public int? LateIn25 { get; set; } public int? LateIn26 { get; set; } public int? LateIn27 { get; set; } public int? LateIn28 { get; set; } public int? LateIn29 { get; set; } public int? LateIn30 { get; set; } public int? LateIn31 { get; set; } public int? EarlyOut1 { get; set; } public int? EarlyOut2 { get; set; } public int? EarlyOut3 { get; set; } public int? EarlyOut4 { get; set; } public int? EarlyOut5 { get; set; } public int? EarlyOut6 { get; set; } public int? EarlyOut7 { get; set; } public int? EarlyOut8 { get; set; } public int? EarlyOut9 { get; set; } public int? EarlyOut10 { get; set; } public int? EarlyOut11 { get; set; } public int? EarlyOut12 { get; set; } public int? EarlyOut13 { get; set; } public int? EarlyOut14 { get; set; } public int? EarlyOut15 { get; set; } public int? EarlyOut16 { get; set; } public int? EarlyOut17 { get; set; } public int? EarlyOut18 { get; set; } public int? EarlyOut19 { get; set; } public int? EarlyOut20 { get; set; } public int? EarlyOut21 { get; set; } public int? EarlyOut22 { get; set; } public int? EarlyOut23 { get; set; } public int? EarlyOut24 { get; set; } public int? EarlyOut25 { get; set; } public int? EarlyOut26 { get; set; } public int? EarlyOut27 { get; set; } public int? EarlyOut28 { get; set; } public int? EarlyOut29 { get; set; } public int? EarlyOut30 { get; set; } public int? EarlyOut31 { get; set; } } public class TeamCalendarResponseDTO { public long EmployeeId { get; set; } public string EmployeeCode { get; set; } = string.Empty; public string EmployeeName { get; set; } = string.Empty; // Day-wise attendance calendar months public List Months { get; set; } = new(); // Permission (timeslip) data — populated when Team = true public List Permissions { get; set; } = new(); } }