| | |
| | | |
| | | namespace Tiger.Model |
| | | { |
| | | /// <summary> |
| | | /// 实体:工单条码明细 |
| | | /// </summary> |
| | | [Description("Primary:ID")] |
| | | [DisplayName("工单条码明细")] |
| | | [Serializable] |
| | | [SugarTable("BIZ_MES_WO_SN")] |
| | | public class BIZ_MES_WO_SN : DbEntityWithAuth |
| | | { |
| | | #region 构造函数 |
| | | /// <summary> |
| | | /// 实体:工单条码明细 |
| | | /// </summary> |
| | | public BIZ_MES_WO_SN() {} |
| | | #endregion |
| | | |
| | | #region 公共属性 |
| | | /// <summary> |
| | | /// 关联工单号 |
| | | /// </summary> |
| | | [DisplayName("关联工单号")] |
| | | public string WORK_ORDER { get; set; } |
| | | /// <summary> |
| | | /// 条码 |
| | | /// </summary> |
| | | [DisplayName("条码")] |
| | | public string SN { get; set; } |
| | | /// <summary> |
| | | /// 实体:工单条码明细 |
| | | /// </summary> |
| | | [Description("Primary:ID")] |
| | | [DisplayName("工单条码明细")] |
| | | [Serializable] |
| | | [SugarTable("BIZ_MES_WO_SN")] |
| | | public class BIZ_MES_WO_SN : DbEntityWithAuth |
| | | { |
| | | #region 构造函数 |
| | | /// <summary> |
| | | /// 状态(0NotInput未投入|1Inputed已投入|2Finished已完工) |
| | | /// 实体:工单条码明细 |
| | | /// </summary> |
| | | [DisplayName("状态(0NotInput未投入|1Inputed已投入|2Finished已完工)")] |
| | | public int STATUS { get; set; } |
| | | public BIZ_MES_WO_SN() { } |
| | | #endregion |
| | | |
| | | #region 公共属性 |
| | | /// <summary> |
| | | /// 关联工单号 |
| | | /// </summary> |
| | | [DisplayName("关联工单号")] |
| | | public string WORK_ORDER { get; set; } |
| | | /// <summary> |
| | | /// 工单批次号 |
| | | /// </summary> |
| | | [DisplayName("工单批次号")] |
| | | public string BATCH_NO { get; set; } |
| | | /// <summary> |
| | | /// 在制品ID |
| | | /// </summary> |
| | | [DisplayName("在制品ID")] |
| | | public string WIP_ID { get; set; } |
| | | /// <summary> |
| | | /// 当前条码 |
| | | /// </summary> |
| | | [DisplayName("当前条码")] |
| | | public string SN { get; set; } |
| | | /// <summary> |
| | | /// 厂内流转条码 |
| | | /// </summary> |
| | | [DisplayName("厂内流转条码")] |
| | | public string FLOW_SN { get; set; } |
| | | /// <summary> |
| | | /// 托盘/载具条码 |
| | | /// </summary> |
| | | [DisplayName("托盘/载具条码")] |
| | | public string TRAY_SN { get; set; } |
| | | /// <summary> |
| | | /// 最外层包装条码 |
| | | /// </summary> |
| | | [DisplayName("最外层包装条码")] |
| | | public string OUTER_SN { get; set; } |
| | | /// <summary> |
| | | /// 物料编码 |
| | | /// </summary> |
| | | [DisplayName("物料编码")] |
| | | public string ITEM_CODE { get; set; } |
| | | /// <summary> |
| | | /// 状态(0NotInput未投入|1Inputed已投入|2Finished已完工|3Offline异常下线|4Scrap已报废) |
| | | /// </summary> |
| | | [DisplayName("状态(0NotInput未投入|1Inputed已投入|2Finished已完工|3Offline异常下线|4Scrap已报废)")] |
| | | public int STATUS { get; set; } |
| | | /// <summary> |
| | | /// 数量 |
| | | /// </summary> |
| | | [DisplayName("数量")] |
| | | public double QTY { get; set; } = 1; |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | [DisplayName("备注")] |
| | | public string REMARK { get; set; } |
| | | public string REMARK { get; set; } |
| | | #endregion |
| | | |
| | | #region 虚拟属性 |
| | |
| | | */ |
| | | |
| | | /// <summary> |
| | | /// 枚举:状态(0NotInput未投入|1Inputed已投入|2Finished已完工) |
| | | /// 枚举:状态(0NotInput未投入|1Inputed已投入|2Finished已完工|3Offline异常下线|4Scrap已报废) |
| | | /// </summary> |
| | | public enum STATUSs |
| | | { |
| | | [Description("未投入")] |
| | | NotInput = 0, |
| | | [Description("已投入")] |
| | | Inputed = 1, |
| | | { |
| | | [Description("未投入")] |
| | | NotInput = 0, |
| | | [Description("已投入")] |
| | | Inputed = 1, |
| | | [Description("已完工")] |
| | | Finished = 2, |
| | | [Description("异常下线")] |
| | | Offline = 3, |
| | | [Description("已报废")] |
| | | Scrap = 4, |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 公共方法 |
| | | #region 公共方法 |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | }//endClass |
| | | }//endClass |
| | | } |