| | |
| | | /// </summary> |
| | | [DisplayName("备注")] |
| | | public string REMARK { get; set; } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 虚拟属性 |
| | | /*例子 |
| | | #region 虚拟属性 |
| | | /*例子 |
| | | [SugarColumn(IsIgnore = true)] |
| | | public string FieldName { get; set; } |
| | | */ |
| | | #endregion |
| | | |
| | | #region 外键属性 |
| | | /*例子 |
| | | [SugarColumn(IsIgnore = true)] |
| | | public string SALES_ORDER { get; set; } |
| | | [SugarColumn(IsIgnore = true)] |
| | | public string SapCode { get; set; } |
| | | [SugarColumn(IsIgnore = true)] |
| | | public int CartonQty { get; set; } |
| | | #endregion |
| | | |
| | | #region 外键属性 |
| | | /*例子 |
| | | //一对一外键导航 |
| | | [Navigate(NavigateType.OneToOne, nameof(ClassAId))]//一对一 ClassAId是BIZ_ERP_PROD_IN_BTH类里面的外键ID字段 |
| | | public ClassA ClassA { get; set; } //注意禁止手动赋值,只能是null |
| | |
| | | [Navigate(typeof(MappingClass), nameof(MappingClass.BIZ_ERP_PROD_IN_BTHId), nameof(MappingClass.ClassAId))]//注意顺序 |
| | | public List<ClassA> ClassAList { get; set; } //注意禁止手动赋值,只能是null |
| | | */ |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 枚举变量 |
| | | /*例子 |
| | | #region 枚举变量 |
| | | /*例子 |
| | | public enum FieldNames |
| | | { |
| | | [Description("枚举描述0")] |
| | |
| | | Enum1, |
| | | } |
| | | */ |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 公共方法 |
| | | #region 公共方法 |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | }//endClass |
| | | }//endClass |
| | | |
| | | public class ProdInBatch |
| | | { |
| | | /// <summary> |
| | | /// 入库单号 |
| | | /// </summary> |
| | | [DisplayName("入库单号")] |
| | | public string ORDER_NO { get; set; } |
| | | public string SALES_ORDER { get; set; } |
| | | public string STATUS { get; set; } |
| | | /// <summary> |
| | | /// 工单批次号 |
| | | /// </summary> |
| | | [DisplayName("工单批次号")] |
| | | public string BATCH_NO { get; set; } |
| | | /// <summary> |
| | | /// 工单号 |
| | | /// </summary> |
| | | [DisplayName("工单号")] |
| | | public string WORK_ORDER { get; set; } |
| | | /// <summary> |
| | | /// 物料编码 |
| | | /// </summary> |
| | | [DisplayName("物料编码")] |
| | | public string ITEM_CODE { get; set; } |
| | | /// <summary> |
| | | /// 物料名称 |
| | | /// </summary> |
| | | [DisplayName("物料名称")] |
| | | public string ITEM_NAME { get; set; } |
| | | public string SapCode { get; set; } |
| | | /// <summary> |
| | | /// 计划数量 |
| | | /// </summary> |
| | | [DisplayName("计划数量")] |
| | | public double PLAN_QTY { get; set; } |
| | | /// <summary> |
| | | /// 已扫描数量 |
| | | /// </summary> |
| | | [DisplayName("已扫描数量")] |
| | | public double SCAN_QTY { get; set; } |
| | | } |
| | | |
| | | public class InStoreScanInfo |
| | | { |
| | | /// <summary> |
| | | /// 条码 |
| | | /// </summary> |
| | | [DisplayName("条码")] |
| | | public string SN { get; set; } |
| | | public string SALES_ORDER { get; set; } |
| | | [DisplayName("工单批次号")] |
| | | public string BATCH_NO { get; set; } |
| | | /// <summary> |
| | | /// 工单号 |
| | | /// </summary> |
| | | [DisplayName("工单号")] |
| | | public string WORK_ORDER { get; set; } |
| | | /// <summary> |
| | | /// 已扫描数量 |
| | | /// </summary> |
| | | [DisplayName("已扫描数量")] |
| | | public double SCAN_QTY { get; set; } |
| | | } |
| | | |
| | | public class InStoreInfo { |
| | | public BIZ_ERP_PROD_IN_BTH ErpProdInBth { get; set; } |
| | | //public ProdInBatch ProdInBatch { get; set; } |
| | | public InStoreScanInfo InStoreScanInfo { get; set; } |
| | | } |
| | | |
| | | public class InStoreInfos |
| | | { |
| | | public List<BIZ_ERP_PROD_IN_BTH> ErpProdInBths { get; set; } |
| | | public List<InStoreScanInfo> InStoreScanInfos { get; set; } |
| | | } |
| | | } |