Files
f9-web-ai-test/backend/F9WebAiTest.Application/Dtos/Prod/XjrbDtos.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

229 lines
7.5 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.
using F9WebAiTest.Domain.Entities.Prod;
namespace F9WebAiTest.Application.Dtos.Prod;
// ==================== 选茧日报 ====================
public class XjrbListDto
{
public long Id { get; set; }
public DateTime Date { get; set; }
public string DateText => Date.ToString("yyyy-MM-dd");
public long GyzkId { get; set; }
public string GyzkName { get; set; } = "";
public int YlLrBaoshu { get; set; }
public decimal YlLrZhongliang { get; set; }
public int LtjBaoshu { get; set; }
public decimal LtjZhongliang { get; set; }
public int HwjjBaoshu { get; set; }
public decimal HwjjZhongliang { get; set; }
public int LjjBaoshu { get; set; }
public decimal LjjZhongliang { get; set; }
public int MjBaoshu { get; set; }
public decimal MjZhongliang { get; set; }
public int SgjBaoshu { get; set; }
public decimal SgjZhongliang { get; set; }
public int XjjBaoshu { get; set; }
public decimal XjjZhongliang { get; set; }
public int JyBaoshu { get; set; }
public decimal JyZhongliang { get; set; }
public int JhBaoshu { get; set; }
public decimal JhZhongliang { get; set; }
public decimal TotalZhongliang { get; set; }
public int ThBaoshu { get; set; }
public decimal ThZhongliang { get; set; }
public decimal LiantongRate { get; set; }
public decimal Yingkui { get; set; }
}
public class XjrbSaveDto
{
public long Id { get; set; }
public DateTime Date { get; set; }
public long GyzkId { get; set; }
public int YlLrBaoshu { get; set; }
public decimal YlLrZhongliang { get; set; }
public int LtjBaoshu { get; set; }
public decimal LtjZhongliang { get; set; }
public int HwjjBaoshu { get; set; }
public decimal HwjjZhongliang { get; set; }
public int LjjBaoshu { get; set; }
public decimal LjjZhongliang { get; set; }
public int MjBaoshu { get; set; }
public decimal MjZhongliang { get; set; }
public int SgjBaoshu { get; set; }
public decimal SgjZhongliang { get; set; }
public int XjjBaoshu { get; set; }
public decimal XjjZhongliang { get; set; }
public int JyBaoshu { get; set; }
public decimal JyZhongliang { get; set; }
public int JhBaoshu { get; set; }
public decimal JhZhongliang { get; set; }
public int ThBaoshu { get; set; }
public decimal ThZhongliang { get; set; }
public decimal LiantongRate { get; set; }
public decimal Yingkui { get; set; }
}
/// <summary>盈亏 / 联统率计算结果(对齐 F9 GetXjrbCountYingkuiQuery 返回字典)</summary>
public class XjrbYingkuiDto
{
public decimal LiantongRate { get; set; }
public decimal Yingkui { get; set; }
public DateTime StartDate { get; set; }
public string StartDateText => StartDate.ToString("yyyy-MM-dd");
}
// ==================== 选茧计划 ====================
public class XjrbPlanListDto
{
public long Id { get; set; }
public DateTime Date { get; set; }
public string DateText => Date.ToString("yyyy-MM-dd");
public long GyzkId { get; set; }
public string GyzkName { get; set; } = "";
public long YllingliaodanId { get; set; }
public string YllingliaodanCode { get; set; } = "";
public int YlBaoshu { get; set; }
public decimal YlZhongliang { get; set; }
public int LtjBaoshu { get; set; }
public decimal LtjZhongliang { get; set; }
public int HwjjBaoshu { get; set; }
public decimal HwjjZhongliang { get; set; }
public int WjjBaoshu { get; set; }
public decimal WjjZhongliang { get; set; }
public int SgjBaoshu { get; set; }
public decimal SgjZhongliang { get; set; }
public int XjjBaoshu { get; set; }
public decimal XjjZhongliang { get; set; }
public int JyBaoshu { get; set; }
public decimal JyZhongliang { get; set; }
public int JhBaoshu { get; set; }
public decimal JhZhongliang { get; set; }
public decimal TotalZhongliang { get; set; }
public decimal LiantongRate { get; set; }
public decimal Yingkui { get; set; }
public bool IsFinish { get; set; }
}
public class XjrbPlanSaveDto
{
public long Id { get; set; }
public DateTime Date { get; set; }
public long GyzkId { get; set; }
public long YllingliaodanId { get; set; }
public int YlBaoshu { get; set; }
public decimal YlZhongliang { get; set; }
public int LtjBaoshu { get; set; }
public decimal LtjZhongliang { get; set; }
public int HwjjBaoshu { get; set; }
public decimal HwjjZhongliang { get; set; }
public int WjjBaoshu { get; set; }
public decimal WjjZhongliang { get; set; }
public int SgjBaoshu { get; set; }
public decimal SgjZhongliang { get; set; }
public int XjjBaoshu { get; set; }
public decimal XjjZhongliang { get; set; }
public int JyBaoshu { get; set; }
public decimal JyZhongliang { get; set; }
public int JhBaoshu { get; set; }
public decimal JhZhongliang { get; set; }
}
// ==================== 选茧计划明细 ====================
public class XjrbItemDto
{
public long Id { get; set; }
public long XjrbPlanId { get; set; }
public DateTime Date { get; set; }
public string DateText => Date.ToString("yyyy-MM-dd");
public int LtjBaoshu { get; set; }
public decimal LtjZhongliang { get; set; }
public int HwjjBaoshu { get; set; }
public decimal HwjjZhongliang { get; set; }
public int WjjBaoshu { get; set; }
public decimal WjjZhongliang { get; set; }
public int SgjBaoshu { get; set; }
public decimal SgjZhongliang { get; set; }
public int XjjBaoshu { get; set; }
public decimal XjjZhongliang { get; set; }
public int JyBaoshu { get; set; }
public decimal JyZhongliang { get; set; }
public int JhBaoshu { get; set; }
public decimal JhZhongliang { get; set; }
public decimal TotalZhongliang { get; set; }
public bool IsFinish { get; set; }
}
public class XjrbItemSaveDto
{
public long Id { get; set; }
public long XjrbPlanId { get; set; }
public DateTime Date { get; set; }
public int LtjBaoshu { get; set; }
public decimal LtjZhongliang { get; set; }
public int HwjjBaoshu { get; set; }
public decimal HwjjZhongliang { get; set; }
public int WjjBaoshu { get; set; }
public decimal WjjZhongliang { get; set; }
public int SgjBaoshu { get; set; }
public decimal SgjZhongliang { get; set; }
public int XjjBaoshu { get; set; }
public decimal XjjZhongliang { get; set; }
public int JyBaoshu { get; set; }
public decimal JyZhongliang { get; set; }
public int JhBaoshu { get; set; }
public decimal JhZhongliang { get; set; }
public bool IsFinish { get; set; }
}
// ==================== 选茧班组 ====================
public class XjpbBanzuDto
{
public long Id { get; set; }
public string Banci { get; set; } = "";
public int Zu { get; set; }
}
public class XjpbBanzuZhigongDto
{
public long Id { get; set; }
public long BanzuId { get; set; }
public string Banci { get; set; } = "";
public int Zu { get; set; }
public long YgId { get; set; }
public string YgName { get; set; } = "";
public string YgPhone { get; set; } = "";
public int Sort { get; set; }
}
/// <summary>班组「编辑录入」保存项:职工 + 是否选中 + 组别(对齐 F9 XjpbBanzuZhigongCombinedDto)</summary>
public class XjpbBanzuZhigongSaveDto
{
public long Id { get; set; }
public string Banci { get; set; } = "";
public int Zu { get; set; }
public long YgId { get; set; }
public string YgName { get; set; } = "";
public string YgPhone { get; set; } = "";
public int Sort { get; set; }
public bool Selected { get; set; }
}