新增工资/仓储/生产日报等模块,移除旧考勤模块
- 新增 PayRoll(工资)、Wms(仓储)、Prod(车速/缫丝/考勤/丝片检测/丝片台账/纤检日报/质量日报) 模块 - 新增对应 Domain 实体、Application DTO/Service、Api Controller 与前端页面 - 移除旧 Attendance 考勤模块(Controller/Service/Entity/DTO 及 5 个前端页面),由 Prod/Kaoqin 取代 - 调整路由、仪表盘、Lsjl 流丝记录实体与服务 - 更新业务种子数据与 DbSeeder - 补充工作进度文档 14-27
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
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 的岗位胜任考核。
|
||||
|
||||
/// <summary>薪资配置-账期(按 年度 + 月份 唯一):考勤统计用「前缫出勤天数 QsQuanqinDays」判断满勤</summary>
|
||||
[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; } = "";
|
||||
}
|
||||
|
||||
/// <summary>薪资配置-职工(按 职工 + 工种 唯一):法定假补助/工资小时数、是否学工</summary>
|
||||
[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; } = "";
|
||||
}
|
||||
|
||||
/// <summary>岗位胜任考核(按 年度+月份+职工 唯一):考核结果决定加班费单价档位</summary>
|
||||
[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; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user