namespace MDM.Model.Process
{
///
/// 工序流转
///
[SugarTable("process_operation_transition", "工序流转")]
public class ProcessOperationTransition
{
///
/// id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "transition_id")]
public int TransitionId { get; set; }
///
/// fk工艺路线code
///
[SugarColumn(ColumnName = "fk_routing_code",Length =50)]
public string FkRoutingCode { get; set; }
///
/// 起始工序code
///
[SugarColumn(ColumnName = "from_operation_code", Length = 50)]
public string FromOperationCode { get; set; }
///
/// 目标工序code
///
[SugarColumn(ColumnName = "to_operation_code", Length = 50)]
public string ToOperationCode { get; set; }
///
/// 流转类型:STANDARD(标准)、SKIP(跳站)、REWORK(返工)、PARALLEL_START、PARALLEL_END
///
[SugarColumn(ColumnName = "transition_type", Length = 50)]
public string TransitionType { get; set; }
///
/// 跳转条件,比如“只有检验合格才跳转”、“仅当批次类型=小批时跳过全检”
///
[SugarColumn(ColumnName = "condition_rule", Length = 50)]
public string ConditionRule { get; set; }
///
/// 描述
///
[SugarColumn(ColumnDataType ="text")]
public string Description { get; set; }
///
/// 流转规则的排序(可选)
///
public int? Sequence { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY",Length =50)]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "uPDATED_BY", Length = 50)]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}