Valeo_Line_MES_backend/MDM/Models/Process/ProcessOperationTransition.cs
2026-01-16 10:41:38 +08:00

82 lines
2.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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",Length =50)]
public string FkRoutingCode { get; set; }
/// <summary>
/// 起始工序code
/// </summary>
[SugarColumn(ColumnName = "from_operation_code", Length = 50)]
public string FromOperationCode { get; set; }
/// <summary>
/// 目标工序code
/// </summary>
[SugarColumn(ColumnName = "to_operation_code", Length = 50)]
public string ToOperationCode { get; set; }
/// <summary>
/// 流转类型STANDARD标准、SKIP跳站、REWORK返工、PARALLEL_START、PARALLEL_END
/// </summary>
[SugarColumn(ColumnName = "transition_type", Length = 50)]
public string TransitionType { get; set; }
/// <summary>
/// 跳转条件,比如“只有检验合格才跳转”、“仅当批次类型=小批时跳过全检”
/// </summary>
[SugarColumn(ColumnName = "condition_rule", Length = 50)]
public string ConditionRule { get; set; }
/// <summary>
/// 描述
/// </summary>
[SugarColumn(ColumnDataType ="text")]
public string Description { get; set; }
/// <summary>
/// 流转规则的排序(可选)
/// </summary>
public int? Sequence { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "cREATED_BY",Length =50)]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "uPDATED_BY", Length = 50)]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}