using Business.Core.Attributes; using Business.Model; using Microsoft.EntityFrameworkCore; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.Tech { /// /// 工艺关联工序表 /// [CollectionName("dopbase", "mes_tech_process")] 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; } /// /// 工作中心类型WorkCenterType:1-人工型;2-流水线型;3-设备型 /// [Description("工作中心类型")] public int? wctype { get; set; } /// /// 前置最小数量LeadQuantity to Start Next /// [Precision(20, 8)] [Description("前置最小数量")] public decimal? lq { get; set; } /// /// 子工序加工数量UnitPerParent /// [Precision(20, 8)] [Description("子工序加工数量")] public decimal? upp { get; set; } /// /// 一次可加工数量UnitPerEquipment /// [Precision(20, 8)] [Description("一次可加工数量")] public decimal? upe { get; set; } /// /// 实际运行工位数WorkshopInUse /// [Description("实际运行工位数")] public int? wsinuse { 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; } } }