| | |
| | | [DisplayName("客户条码")] |
| | | public string CUST_SN { get; set; } |
| | | /// <summary> |
| | | /// 厂内流转条码 |
| | | /// 厂内流转条码(若是导入的未绑定客户条码,此字段为空) |
| | | /// </summary> |
| | | [DisplayName("厂内流转条码")] |
| | | [DisplayName("厂内流转条码(若是导入的未绑定客户条码,此字段为空)")] |
| | | public string FLOW_SN { get; set; } |
| | | /// <summary> |
| | | /// 工单号 |
| | | /// 生产工单号 |
| | | /// </summary> |
| | | [DisplayName("工单号")] |
| | | [DisplayName("生产工单号")] |
| | | public string WORK_ORDER { get; set; } |
| | | /// <summary> |
| | | /// 物料编码 |
| | | /// 半成品物料编码 |
| | | /// </summary> |
| | | [DisplayName("物料编码")] |
| | | [DisplayName("半成品物料编码")] |
| | | public string ITEM_CODE { get; set; } |
| | | /// <summary> |
| | | /// 包装工单号 |
| | | /// </summary> |
| | | [DisplayName("包装工单号")] |
| | | public string PKG_ORDER { get; set; } |
| | | /// <summary> |
| | | /// 成品物料编码 |
| | | /// </summary> |
| | | [DisplayName("成品物料编码")] |
| | | public string PROD_CODE { get; set; } |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | |
| | | [SugarColumn(IsIgnore = true)] |
| | | public string FieldName { get; set; } |
| | | */ |
| | | /// <summary> |
| | | /// 是否已经绑定 |
| | | /// </summary> |
| | | [SugarColumn(IsIgnore = true)] |
| | | public bool IsBound => !string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN) && FLOW_SN != CUST_SN; |
| | | /// <summary> |
| | | /// 是否厂内流转条码 |
| | | /// </summary> |
| | | [SugarColumn(IsIgnore = true)] |
| | | public bool IsFlowSn => !string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN) && FLOW_SN == CUST_SN; |
| | | /// <summary> |
| | | /// 是否客户编码 |
| | | /// </summary> |
| | | [SugarColumn(IsIgnore = true)] |
| | | public bool IsCustSn => string.IsNullOrEmpty(FLOW_SN) && !string.IsNullOrEmpty(CUST_SN); |
| | | #endregion |
| | | |
| | | #region 外键属性 |