|
|
@@ -71,10 +71,11 @@ namespace Bussiness.MongoModel.MES.IC
|
|
|
/// 物料属性
|
|
|
/// </summary>
|
|
|
[Comment("物料属性")]
|
|
|
- public int erp_cls { get; set; }
|
|
|
+ public int? erp_cls { get; set; }
|
|
|
/// <summary>
|
|
|
/// 物料属性名称
|
|
|
/// </summary>
|
|
|
+ [StringLength(80)]
|
|
|
[Comment("物料属性")]
|
|
|
public string? erp_cls_name { get; set; }
|
|
|
/// <summary>
|
|
|
@@ -86,15 +87,13 @@ namespace Bussiness.MongoModel.MES.IC
|
|
|
/// <summary>
|
|
|
/// 物料等级
|
|
|
/// </summary>
|
|
|
- [Required]
|
|
|
[Comment("物料等级")]
|
|
|
- public long item_level { get; set; }
|
|
|
+ public long? item_level { get; set; }
|
|
|
/// <summary>
|
|
|
/// 环保等级
|
|
|
/// </summary>
|
|
|
- [Required]
|
|
|
[Comment("环保等级")]
|
|
|
- public long hb_level { get; set; }
|
|
|
+ public long? hb_level { get; set; }
|
|
|
/// <summary>
|
|
|
/// 单位标准工时_小时
|
|
|
/// </summary>
|
|
|
@@ -117,7 +116,7 @@ namespace Bussiness.MongoModel.MES.IC
|
|
|
/// 是否为设备
|
|
|
/// </summary>
|
|
|
[Comment("是否为设备")]
|
|
|
- public int is_equipment { get; set; }
|
|
|
+ public int? is_equipment { get; set; }
|
|
|
/// <summary>
|
|
|
/// 单位包装数量
|
|
|
/// </summary>
|
|
|
@@ -134,7 +133,7 @@ namespace Bussiness.MongoModel.MES.IC
|
|
|
/// 是否关键件
|
|
|
/// </summary>
|
|
|
[Comment("是否关键件")]
|
|
|
- public int iskeyitem { get; set; }
|
|
|
+ public int? iskeyitem { get; set; }
|
|
|
/// <summary>
|
|
|
/// 毛重
|
|
|
/// </summary>
|
|
|
@@ -186,39 +185,38 @@ namespace Bussiness.MongoModel.MES.IC
|
|
|
/// <summary>
|
|
|
/// 物料类别
|
|
|
/// </summary>
|
|
|
- [Required]
|
|
|
[Comment("物料类别")]
|
|
|
- public long matatt { get; set; }
|
|
|
+ public long? matatt { get; set; }
|
|
|
/// <summary>
|
|
|
/// 允许采购
|
|
|
/// </summary>
|
|
|
[Comment("允许采购")]
|
|
|
- public int allowpur { get; set; }
|
|
|
+ public int? allowpur { get; set; }
|
|
|
/// <summary>
|
|
|
/// 允许销售
|
|
|
/// </summary>
|
|
|
[Comment("允许销售")]
|
|
|
- public int allowsale { get; set; }
|
|
|
+ public int? allowsale { get; set; }
|
|
|
/// <summary>
|
|
|
/// 允许生产
|
|
|
/// </summary>
|
|
|
[Comment("允许生产")]
|
|
|
- public int allowmanu { get; set; }
|
|
|
+ public int? allowmanu { get; set; }
|
|
|
/// <summary>
|
|
|
/// 允许委外
|
|
|
/// </summary>
|
|
|
[Comment("允许委外")]
|
|
|
- public int allowout { get; set; }
|
|
|
+ public int? allowout { get; set; }
|
|
|
/// <summary>
|
|
|
/// 批号管理
|
|
|
/// </summary>
|
|
|
[Comment("批号管理")]
|
|
|
- public int allowbatch { get; set; }
|
|
|
+ public int? allowbatch { get; set; }
|
|
|
/// <summary>
|
|
|
/// 序列号管理
|
|
|
/// </summary>
|
|
|
[Comment("序列号管理")]
|
|
|
- public int allowserial { get; set; }
|
|
|
+ public int? allowserial { get; set; }
|
|
|
/// <summary>
|
|
|
/// 图片
|
|
|
/// </summary>
|
|
|
@@ -228,19 +226,17 @@ namespace Bussiness.MongoModel.MES.IC
|
|
|
/// <summary>
|
|
|
/// 领料类型
|
|
|
/// </summary>
|
|
|
- [Required]
|
|
|
[Comment("领料类型")]
|
|
|
- public long picktype { get; set; }
|
|
|
+ public long? picktype { get; set; }
|
|
|
/// <summary>
|
|
|
/// 出库类型
|
|
|
/// </summary>
|
|
|
- [Required]
|
|
|
[Comment("出库类型")]
|
|
|
- public long output_type_id { get; set; }
|
|
|
+ public long? output_type_id { get; set; }
|
|
|
/// <summary>
|
|
|
/// 启用预警
|
|
|
/// </summary>
|
|
|
[Comment("启用预警")]
|
|
|
- public int enable_warning { get; set; }
|
|
|
+ public int? enable_warning { get; set; }
|
|
|
}
|
|
|
}
|