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