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