using FreeSql.DataAnnotations; using F9WebAiTest.Domain.Common; namespace F9WebAiTest.Domain.Entities.Prod; /// 丝片台帐(每日一条):浸丝 / 返丝 / 编丝 / 整理 [Table(Name = "Sptzs")] [Index("IX_Sptzs_Date", "Date", IsUnique = true)] public class Sptz : BaseEntity { public DateTime Date { get; set; } // 日期 public DateTime DateLast { get; set; } // 上一日(上一本台账日期) // ---- 浸丝 ---- public int JsShangcun { get; set; } // 上存 = 上一日今存 public int JsXiasi { get; set; } // 下丝 public int JsJinsi { get; set; } // 浸丝 public int JsSrylJrxz { get; set; } // 上日遗留/今日新增 = 上存 − 浸丝 public int JsJincun { get; set; } // 今存 = 下丝 + 上日遗留/今日新增 public int FsFsps { get; set; } // 返丝片数 public int BsBsps { get; set; } // 编丝片数 // ---- 整理 ---- public int ZlZhengpin { get; set; } // 正品片数 public int ZlTichu { get; set; } // 剔除片数 public string Memo { get; set; } = ""; // 备注 }