Files
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

56 lines
2.8 KiB
C#
Raw Permalink 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 FreeSql.DataAnnotations;
using F9WebAiTest.Domain.Common;
namespace F9WebAiTest.Domain.Entities.PayRoll;
/// <summary>
/// 薪资计算-立缫挡车车头(挡车工 / 车头工 产量计算明细)
/// 唯一键:日期 + 部门 + 班次 + 机组 + 职工 + 工种 + 工艺庄口 + 规格 + 车台
/// </summary>
[Table(Name = "CalcLdccts")]
[Index("IX_CalcLdccts_Biz", "Date, DepId, Banci, Jizu, EmployeeId, WorktypeId, GyzkId, Guige, Chetai", IsUnique = true)]
public class CalcLdcct : BaseEntity
{
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; } // 班次(0=甲 1=乙,对应 Prod_Banci_Enum)
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; } // 丝量(g)
// ---- 质量 ----
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; } // 三度扣
}