|
|
@@ -1,5 +1,6 @@
|
|
|
using Business.Model;
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
+using System.ComponentModel;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
namespace Bussiness.Model.Tech
|
|
|
@@ -13,79 +14,93 @@ namespace Bussiness.Model.Tech
|
|
|
/// 工艺工序主键
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
+ [Description("工艺工序主键")]
|
|
|
public long tech_proc_id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 工艺主键
|
|
|
/// </summary>
|
|
|
[Required]
|
|
|
+ [Description("工艺主键")]
|
|
|
public long tech_id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 工序主键
|
|
|
/// </summary>
|
|
|
[Required]
|
|
|
+ [Description("工序主键")]
|
|
|
public long proc_id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 组合层级
|
|
|
/// </summary>
|
|
|
[Required]
|
|
|
+ [Description("组合层级")]
|
|
|
public int level { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 前置准备时间
|
|
|
/// </summary>
|
|
|
[Precision(20,8)]
|
|
|
+ [Description("前置准备时间")]
|
|
|
public decimal? readytime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 效率计算类型 1-节拍时间;2-UPH
|
|
|
/// </summary>
|
|
|
[Required]
|
|
|
+ [Description("效率计算类型 1-节拍时间;2-UPH")]
|
|
|
public int type { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// UPH
|
|
|
/// </summary>
|
|
|
[Precision(20, 8)]
|
|
|
+ [Description("UPH")]
|
|
|
public decimal? uph { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 节拍时间
|
|
|
/// </summary>
|
|
|
[Precision(20, 8)]
|
|
|
+ [Description("节拍时间")]
|
|
|
public decimal? ct { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 效率系数
|
|
|
/// </summary>
|
|
|
[Precision(10, 4)]
|
|
|
+ [Description("效率系数")]
|
|
|
public decimal? effect_ratio { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否需要跟踪工序
|
|
|
/// </summary>
|
|
|
+ [Description("是否需要跟踪工序")]
|
|
|
public int? mototrack { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 下一工序id
|
|
|
/// </summary>
|
|
|
+ [Description("下一工序id")]
|
|
|
public long? nextprocid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 父级工序id
|
|
|
/// </summary>
|
|
|
+ [Description("父级工序id")]
|
|
|
public long? parentprocid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 是否需要质检
|
|
|
/// </summary>
|
|
|
+ [Description("是否需要质检")]
|
|
|
public int? needqc { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 最大并行工位数
|
|
|
/// </summary>
|
|
|
+ [Description("最大并行工位数")]
|
|
|
public int? maxworkshop { get; set; }
|
|
|
}
|
|
|
}
|