namespace MDM.Model.Process { /// /// 工序 /// [SugarTable("process_operation")] public class ProcessOperation { /// /// 工序id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "operation_id")] public int OperationId { get; set; } /// /// fk工艺路线code /// [SugarColumn(ColumnName = "fk_routing_code")] public string FkRoutingCode { get; set; } /// /// 工序code /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "operation_code")] public string OperationCode { get; set; } /// /// 工序name /// [SugarColumn(ColumnName = "operation_name")] public string OperationName { get; set; } /// /// 工序序号(工序流转号) /// [SugarColumn(ColumnName = "operation_seq")] public int? OperationSeq { get; set; } /// /// 工序类别 /// [SugarColumn(ColumnName = "operation_type")] public string OperationType { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// 标准时间(秒) /// [SugarColumn(ColumnName = "standard_time")] public int? StandardTime { get; set; } /// /// 控制策略(枚举[1,2,3,4]) /// [SugarColumn(ColumnName = "control_strategy")] public string ControlStrategy { get; set; } /// /// 是否允许跳过该工序(跳站) /// [SugarColumn(ColumnName = "is_skippable")] public string IsSkippable { get; set; } /// /// 是否允许返工 /// [SugarColumn(ColumnName = "is_reworkable")] public string IsReworkable { get; set; } /// /// 是否准许并行 /// [SugarColumn(ColumnName = "is_parallel")] public string IsParallel { get; set; } /// /// 并行组编号(如有) /// [SugarColumn(ColumnName = "parallel_group_code")] public string ParallelGroupCode { get; set; } /// /// 默认的下一个工序(可为空,由流转控制表决定) /// [SugarColumn(ColumnName = "default_next_operation_code")] public string DefaultNextOperationCode { get; set; } /// /// 状态 /// public int? Status { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "cREATED_BY")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "cREATED_TIME")] public DateTime? CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "uPDATED_BY")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "uPDATED_TIME")] public DateTime? UpdatedTime { get; set; } } }