using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.OverTime { public class OverTimeDetailDTO { #region PrivateMembers #region OverTimeDetail private int overtimedetailid; //Id #region OverTimeDetail private int overtimeid; //Id /*CALCULATION PURPOSE*/ private string overtimecalintime; private string overtimecalouttime; private string overtimecalduration; //Factor private string overtimecalfactorhrs; //FactorHrs private string overtimecalactualhours; #endregion private Int16 overtimedetailslno; //SlNo #region OverTimeDetail private int employeeid; //Id private string employeecode; //Code private string employeename; //Name #endregion private Int16 overtimedetailfromtime; //FromTime private Int16 overtimedetailtotime; //ToTime private Int16 overtimedetailduration; //Duration private Int16 overtimedetailfactorhrs; //Duration private double overtimedetailfactor; //Duration private string worktypename; private string shiftdescription; #endregion #region Base #endregion #endregion #region PublicMembers #region OverTimeDetail public int OverTimeDetailId { get { return overtimedetailid; } //Id set { overtimedetailid = value; } //Id } #region OverTimeDetail public int OverTimeId { get { return overtimeid; } //Id set { overtimeid = value; } //Id } #endregion public Int16 OverTimeDetailSlNo { get { return overtimedetailslno; } //SlNo set { overtimedetailslno = value; } //SlNo } #region OverTimeDetail public int EmployeeId { get { return employeeid; } //Id set { employeeid = value; } //Id } public string EmployeeCode { get { return employeecode; } //Code set { employeecode = value; } //Code } public string EmployeeName { get { return employeename; } //Name set { employeename = value; } //Name } #endregion public Int16 OverTimeDetailFromTime { get { return overtimedetailfromtime; } //FromTime set { overtimedetailfromtime = value; } //FromTime } public Int16 OverTimeDetailToTime { get { return overtimedetailtotime; } //ToTime set { overtimedetailtotime = value; } //ToTime } public Int16 OverTimeDetailDuration { get { return overtimedetailduration; } //Duration set { overtimedetailduration = value; } //Duration } public double OverTimeDetailFactor { get { return overtimedetailfactor; } //Factor set { overtimedetailfactor = value; } //Factor } public Int16 OverTimeDetailFactorHrs { get { return overtimedetailfactorhrs; } //FactorHrs set { overtimedetailfactorhrs = value; } //FactorHrs } public string WorkTypeName { get { return worktypename; } //WorkTypeName set { worktypename = value; } //WorkTypeName } public string ShiftDescription { get { return shiftdescription; } //ShiftDescription set { shiftdescription = value; } //ShiftDescription } // NOTE: GB4's OverTimeDetailAddon (dynamic addon-field list on TOVERTIMEDETAILADDON) // is intentionally NOT ported. No equivalent typed addon DTO exists elsewhere in // PayRollDAL for this entity, and re-inventing a bespoke one for OverTime alone // would diverge from the rest of the migration. Addon support can be added later // using whatever generic addon-field pattern the platform settles on (see // EmployeeAddonDTO / PayrollAddonDTO for the closest existing precedent). #endregion #region Base /*CALCULATIONPURPOSE*/ public string OverTimeCalInTime { get { return overtimecalintime; } //InTime set { overtimecalintime = value; } //InTime } public string OverTimeCalOutTime { get { return overtimecalouttime; } //OutTime set { overtimecalouttime = value; } //OutTime } public string OverTimeCalDuration { get { return overtimecalduration; } //OutTime set { overtimecalduration = value; } //OutTime } public string OverTimeCalFactorHrs { get { return overtimecalfactorhrs; } //OutTime set { overtimecalfactorhrs = value; } //OutTime } public string OverTimeCalActualHours { get { return overtimecalactualhours; } //outtime set { overtimecalactualhours = value; } //outtime } #endregion private Int16 overtimedetailactualhours; private double overtimedetailcompoffdays; public Int16 OverTimeDetailActualHours { get { return overtimedetailactualhours; } //OverTimeActualHours set { overtimedetailactualhours = value; } //OverTimeActualHours } public double OverTimeDetailCompOffDays { get { return overtimedetailcompoffdays; } //OverTimeCompOffDays set { overtimedetailcompoffdays = value; } //OverTimeCompOffDays } private int dailyattothrs; private int dailyintime; private int dailyouttime; public int DailyAttOtHrs { get { return dailyattothrs; } //DailyAttOtHrs set { dailyattothrs = value; } //DailyAttOtHrs } public int DailyInTime { get { return dailyintime; } //dailyattothrs set { dailyintime = value; } //dailyattothrs } public int DailyOutTime { get { return dailyouttime; } //dailyattothrs set { dailyouttime = value; } //dailyattothrs } // Multi-tenant filter — mandatory on tenant-scoped writes (MigrationClaude.md §23). public int TenantId { get; set; } #endregion } }