// 文件: MES.Service.Modes/ZZCXB.cs using SqlSugar; namespace MES.Service.Modes { /// /// ZZCXB - 组装拆卸 孙表(与子表一对多) /// [SugarTable("ZZCXB")] public class ZZCXB { /// /// 主键 ID /// [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, OracleSequenceName = "SEQ_ZZCXB")] public decimal? Id { get; set; } /// /// 对应子表 ID (ZZCXA.ID) /// [SugarColumn(ColumnName = "PID")] public decimal? Pid { get; set; } /// /// ERP 主表 id(冗余) /// [SugarColumn(ColumnName = "ERPID")] public string Erpid { get; set; } /// /// ERP 子表行 id (EID) /// [SugarColumn(ColumnName = "EID")] public string Eid { get; set; } /// /// 物料编码 id /// [SugarColumn(ColumnName = "ITEM_ID")] public string ItemId { get; set; } /// /// 数量 /// [SugarColumn(ColumnName = "QTY")] public decimal? Qty { get; set; } /// /// 单位 /// [SugarColumn(ColumnName = "UNIT")] public string Unit { get; set; } /// /// 仓库 /// [SugarColumn(ColumnName = "DEPOT_ID")] public string DepotId { get; set; } /// /// 批号 /// [SugarColumn(ColumnName = "LOT_NO")] public string LotNo { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "MEMO")] public string Memo { get; set; } } }