Files
f9-web-ai-test/backend/F9WebAiTest.Application/Dtos/PayRoll/CalcLdcctDtos.cs
T
yanpeng200212 1f1b184411 新增工资/仓储/生产日报等模块,移除旧考勤模块
- 新增 PayRoll(工资)、Wms(仓储)、Prod(车速/缫丝/考勤/丝片检测/丝片台账/纤检日报/质量日报) 模块
- 新增对应 Domain 实体、Application DTO/Service、Api Controller 与前端页面
- 移除旧 Attendance 考勤模块(Controller/Service/Entity/DTO 及 5 个前端页面),由 Prod/Kaoqin 取代
- 调整路由、仪表盘、Lsjl 流丝记录实体与服务
- 更新业务种子数据与 DbSeeder
- 补充工作进度文档 14-27
2026-10-27 09:09:57 +08:00

132 lines
4.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace F9WebAiTest.Application.Dtos.PayRoll;
/// <summary>挡车车头产量计算-列表行</summary>
public class CalcLdcctListItemDto
{
public long Id { get; set; }
public DateTime Date { get; set; }
public long EmployeeId { get; set; }
public string EmployeeName { get; set; } = "";
public long DepId { get; set; }
public string DepName { get; set; } = "";
public long WorktypeId { get; set; }
public string WorktypeName { get; set; } = "";
public long GyzkId { get; set; }
public string GyzkName { get; set; } = "";
public string Guige { get; set; } = "";
public string Chetai { get; set; } = "";
public int Jizu { get; set; }
public int Banci { get; set; }
public string BanciName { get; set; } = "";
public decimal HoursKantai { get; set; } // 看台时长
public decimal Dangcheshu { get; set; } // 挡车数
public string Dengji { get; set; } = ""; // 等级
public decimal Dengjifen { get; set; } // 等级分
// 产量
public decimal GyzkTaichan { get; set; } // 薪资台产(来自工艺庄口配置)
public decimal ClDanjiaBase { get; set; }
public decimal ClDanjiaDengji { get; set; }
public decimal ClDanjiaActual { get; set; }
public decimal ClSiliang { get; set; }
// 质量
public decimal GyzkSaozhe { get; set; } // 薪资缫折(工艺指标缫折)
public decimal ZlSaozhe { get; set; }
public decimal ZlCenterxd { get; set; }
public decimal ZlYexiannum { get; set; }
public decimal ZlQingjie { get; set; }
public decimal ZlJiejing { get; set; }
public decimal ZlErdu { get; set; }
public decimal ZlSandu { get; set; }
// 金额
public decimal JineCl_Original { get; set; }
public decimal Xishu_JineCl { get; set; }
public decimal JineCl { get; set; }
public decimal JineZlSaozhe { get; set; }
public decimal JineZlCenterxd { get; set; }
public decimal JineZlYexian { get; set; }
public decimal JineZlQingjie { get; set; }
public decimal JineZlJiejing { get; set; }
public decimal JineZlErdu { get; set; }
public decimal JineZlSandu { get; set; }
/// <summary>质量金额合计(负数为扣款)</summary>
public decimal JineZlTotal { get; set; }
}
/// <summary>挡车车头产量计算-保存行(整账期 + 部门 + 工种全量覆盖)</summary>
public class CalcLdcctSaveItemDto
{
public long Id { get; set; }
public DateTime Date { get; set; }
public long EmployeeId { get; set; }
public long DepId { get; set; }
public long WorktypeId { get; set; }
public int Jizu { get; set; }
public int Banci { get; set; }
public long GyzkId { get; set; }
public string Guige { get; set; } = "";
public string Chetai { get; set; } = "";
public decimal HoursKantai { get; set; }
public decimal Dangcheshu { get; set; }
public string Dengji { get; set; } = "";
public decimal Dengjifen { get; set; }
public decimal ClDanjiaBase { get; set; }
public decimal ClDanjiaDengji { get; set; }
public decimal ClDanjiaActual { get; set; }
public decimal ClSiliang { get; set; }
public decimal ZlSaozhe { get; set; }
public decimal ZlCenterxd { get; set; }
public decimal ZlYexiannum { get; set; }
public decimal ZlQingjie { get; set; }
public decimal ZlJiejing { get; set; }
public decimal ZlErdu { get; set; }
public decimal ZlSandu { get; set; }
public decimal JineCl_Original { get; set; }
public decimal Xishu_JineCl { get; set; }
public decimal JineCl { get; set; }
public decimal JineZlSaozhe { get; set; }
public decimal JineZlCenterxd { get; set; }
public decimal JineZlYexian { get; set; }
public decimal JineZlQingjie { get; set; }
public decimal JineZlJiejing { get; set; }
public decimal JineZlErdu { get; set; }
public decimal JineZlSandu { get; set; }
}
/// <summary>整账期保存请求</summary>
public class CalcLdcctSaveDto
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public long DepId { get; set; }
public long WorktypeId { get; set; }
public List<CalcLdcctSaveItemDto> Items { get; set; } = new();
}
/// <summary>计算请求(一键计算)</summary>
public class CalcLdcctCalcDto
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public long DepId { get; set; }
public long WorktypeId { get; set; }
}
/// <summary>计算结果</summary>
public class CalcLdcctResultDto
{
public int Count { get; set; } // 生成条数
public decimal SumSiliang { get; set; } // 丝量合计(g)
public decimal SumJineCl { get; set; } // 产量金额合计
public decimal SumJineZl { get; set; } // 质量金额合计
public List<string> Warnings { get; set; } = new();
}