- 新增 PayRoll(工资)、Wms(仓储)、Prod(车速/缫丝/考勤/丝片检测/丝片台账/纤检日报/质量日报) 模块 - 新增对应 Domain 实体、Application DTO/Service、Api Controller 与前端页面 - 移除旧 Attendance 考勤模块(Controller/Service/Entity/DTO 及 5 个前端页面),由 Prod/Kaoqin 取代 - 调整路由、仪表盘、Lsjl 流丝记录实体与服务 - 更新业务种子数据与 DbSeeder - 补充工作进度文档 14-27
47 lines
2.1 KiB
C#
47 lines
2.1 KiB
C#
using FreeSql.DataAnnotations;
|
|
using F9WebAiTest.Domain.Common;
|
|
|
|
namespace F9WebAiTest.Domain.Entities.Prod;
|
|
|
|
/// <summary>丝片检查(按「日期 + 车间 + 工艺庄口 + 规格」唯一)</summary>
|
|
[Table(Name = "Spjcs")]
|
|
[Index("IX_Spjcs_Date_DepId_GyzkId_Guige", "Date, DeptId, GyzkId, Guige", IsUnique = true)]
|
|
public class Spjc : BaseEntity
|
|
{
|
|
public DateTime Date { get; set; } // 日期
|
|
public long DeptId { get; set; } // 车间
|
|
public long GyzkId { get; set; } // 工艺庄口
|
|
public string Guige { get; set; } = ""; // 规格
|
|
|
|
public int Pianshu { get; set; } // 总片数
|
|
public int PianshuXuegong { get; set; } // 学工片数
|
|
|
|
// ---- 前缫 ----
|
|
public int QsJiahua { get; set; } // 夹花
|
|
public int QsYouwu { get; set; } // 油污
|
|
public int QsHeidian { get; set; } // 黑点
|
|
public int QsShangsi { get; set; } // 伤丝
|
|
public int QsYetiao { get; set; } // 野条
|
|
public int QsXiaosipian { get; set; } // 小丝片
|
|
public int QsQita { get; set; } // 其他
|
|
public int QsHeji { get; set; } // 合计
|
|
|
|
// ---- 后缫 ----
|
|
public int HsYouwu { get; set; } // 油污
|
|
public int HsShangsi { get; set; } // 伤丝
|
|
public int HsShuangsi { get; set; } // 双丝
|
|
public int HsZhisi { get; set; } // 直丝
|
|
public int HsZhantiao { get; set; } // 粘条
|
|
public int HsYingjiao { get; set; } // 硬胶
|
|
public int HsGuojiao { get; set; } // 过胶
|
|
public int HsShouchu { get; set; } // 手触
|
|
public int HsWuran { get; set; } // 污染
|
|
public int HsLiansi { get; set; } // 连丝
|
|
public int HsWdmt { get; set; } // 无底面头
|
|
public int HsMaoluan { get; set; } // 毛乱
|
|
public int HsQita { get; set; } // 其他
|
|
public int HsHeji { get; set; } // 合计
|
|
|
|
public string Memo { get; set; } = ""; // 备注
|
|
}
|