Files
f9-web-ai-test/backend/F9WebAiTest.Domain/Entities/Prod/Cds.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

33 lines
1.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 FreeSql.DataAnnotations;
using F9WebAiTest.Domain.Common;
namespace F9WebAiTest.Domain.Entities.Prod;
/// <summary>秤大丝-落丝汇总(每个落丝记录一条)</summary>
[Table(Name = "CdsLsjls")]
[Index("IX_CdsLsjls_LsjlId", "LsjlId", IsUnique = true)]
public class CdsLsjl : BaseEntity
{
public long LsjlId { get; set; } // 落丝记录
public int Num { get; set; } // 已秤数(把数)
public int Siliang { get; set; } // 已秤丝量(g)
public int Jianliang { get; set; } // 茧量(g)= 落丝桶数 × 每桶茧量
public decimal Saozhe { get; set; } // 缫折 = 茧量 / 丝量 × 100
public decimal Taichan { get; set; } // 实绩台产 = 丝量 / 落丝时长 / 车台数
}
/// <summary>秤大丝-车台明细(每车台一行,4 个丝量值,单位 g)</summary>
[Table(Name = "CdsChetais")]
[Index("IX_CdsChetais_LsjlId_Chetaihao", "LsjlId, Chetaihao", IsUnique = true)]
public class CdsChetai : BaseEntity
{
public long LsjlId { get; set; } // 落丝记录
public int Chetaihao { get; set; } // 车台号
public int Sl1 { get; set; } // 丝量1
public int Sl2 { get; set; } // 丝量2
public int Sl3 { get; set; } // 丝量3
public int Sl4 { get; set; } // 丝量4
public int Num { get; set; } // 个数 = 丝量 > 0 的个数
public int Siliang { get; set; } // 小计丝量
}