| | |
| | | [SugarTable("TN_CG_Detail")] |
| | | public class CntrItemRel : BaseModel |
| | | { |
| | | |
| | | |
| | | public string S_CG_ID { get; set; } |
| | | public string S_GRID_NO { get; set; } |
| | | public string S_SERIAL_NO { get; set; } |
| | | public string S_ITEM_CODE { get; set; } |
| | | public string S_ITEM_NAME { get; set; } = ""; |
| | | public string S_ITEM_SPEC { get; set; } |
| | | public string S_ITEM_STATE { get; set; } = "合格"; |
| | | /// <summary> |
| | | /// 1:合格 2:不合格 |
| | | /// </summary> |
| | | public int N_ITEM_STATE { get; set; } |
| | | public string S_BATCH_NO { get; set; } = ""; |
| | | public string S_END_USER { get; set; } = ""; |
| | | public string S_OWNER { get; set; } |
| | | public string S_SUPPLIER_NO { get; set; } |
| | | public string S_PACK_TYPE { get; set; } |
| | | public float F_PACK_QTY { get; set; } |
| | | public float F_QTY { get; set; } |
| | | public string S_UOM { get; set; } = "kg"; |
| | | public string S_CG_ID { get; set; } // 条形码 |
| | | [SugarColumn(IsPrimaryKey = true)] |
| | | public string S_CNTR_CODE { get; set; } |
| | | public string S_BS_TYPE { get; set; } = ""; |
| | | public string S_BS_NO { get; set; } = ""; |
| | | |
| | | public string S_ITEM_ROUTE { get; set; } = ""; |
| | | public float F_NET_WEIGHT { get; set; } |
| | | public float F_GROSS_WEIGHT { get; set; } |
| | | public string S_WU { get; set; } = ""; |
| | | /// <summary> |
| | | /// 分配量,被其它 |
| | | /// </summary> |
| | | public float F_ALLOC_QTY { get; set; } |
| | | public string C_ITEM_MERGE { get; set; } = "N"; |
| | | public string S_PUTAWAY_NO { get; set; } |
| | | public string S_CNTR_CODE { get; set; } // 容器编码 |
| | | public string S_ITEM_CODE { get; set; } // 物料编码 |
| | | public string S_CELL_NO { get; set; } // 商品编码 |
| | | public string S_ITEM_STATE { get; set; } = "OK"; // 质检状态 |
| | | public float F_QTY { get; set; } // 数量 |
| | | public string S_MCN { get; set; } // 机器代码 |
| | | public string S_OPR { get; set; } // 操作员id1 |
| | | public string S_OPR02 { get; set; } // 操作员id2 |
| | | public string S_OPR03 { get; set; } // 操作员id3 |
| | | public string S_OPR04 { get; set; } // 操作员id4 |
| | | public string S_WINDUP { get; set; } // windup |
| | | public string S_TXNDATE { get; set; } // 生产时间 |
| | | public string S_DATE_SHIFT { get; set; } // 转班日期 |
| | | public string S_EFFECTIVE_TIME { get; set; } // 生效时间 |
| | | public string S_EXPIRATION_TIME { get; set; } // 失效时间 |
| | | public int N_URGENT_FLAG { get; set; } = 0; // 加急标识 |
| | | |
| | | ///// <summary> |
| | | ///// 反向映射 |
| | | ///// </summary> |
| | | //[SugarColumn(IsIgnore = true)] |
| | | //[Navigate(NavigateType.OneToOne, nameof(S_CNTR_CODE), nameof(Container.S_CODE))] |
| | | //public Container Cntr { get; set; } |
| | | } |
| | | } |