using FreeSql.DataAnnotations; using F9WebAiTest.Domain.Common; namespace F9WebAiTest.Domain.Entities.PayRoll; // 考勤统计(CQTJ)依赖的三套配置: // CONFZQ 薪资配置-账期、CONFEMPLOYEE 薪资配置-职工、GWsrkh 岗位胜任考核 // 对应 F9 WinClient\F9.Business.PayRoll\PAYROLL\CONFZQ / CONFEMPLOYEE 与 CalXzMain 的岗位胜任考核。 /// 薪资配置-账期(按 年度 + 月份 唯一):考勤统计用「前缫出勤天数 QsQuanqinDays」判断满勤 [Table(Name = "ConfZqs")] [Index("IX_ConfZqs_Year_Month", "Year, Month", IsUnique = true)] public class ConfZq : BaseEntity { public int Year { get; set; } public int Month { get; set; } public decimal QsQuanqinDays { get; set; } // 前缫出勤天数(必填,考勤统计满勤/加班免扣口径) public string Memo { get; set; } = ""; } /// 薪资配置-职工(按 职工 + 工种 唯一):法定假补助/工资小时数、是否学工 [Table(Name = "ConfEmployees")] [Index("IX_ConfEmployees_Emp_WorkType", "EmployeeId, WorktypeId", IsUnique = true)] public class ConfEmployee : BaseEntity { public long EmployeeId { get; set; } public long WorktypeId { get; set; } public decimal HoursFadingBz { get; set; } // 法定假-补助小时 public decimal HoursFadingGz { get; set; } // 法定假-工资小时 public bool IsXuegong { get; set; } // 是否学工(全勤奖取学工标准) public string Memo { get; set; } = ""; } /// 岗位胜任考核(按 年度+月份+职工 唯一):考核结果决定加班费单价档位 [Table(Name = "Gwsrkhs")] [Index("IX_Gwsrkhs_Year_Month_Emp", "Year, Month, EmployeeId", IsUnique = true)] public class Gwsrkh : BaseEntity { public int Year { get; set; } public int Month { get; set; } public long DepId { get; set; } public long EmployeeId { get; set; } public string KhJieguo { get; set; } = ""; // 欠合格 / 期望 / 合格 / 胜任 / 超胜任 public string Memo { get; set; } = ""; }