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