2025-09-20 15:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
namespace DOAN.Model.MES.process
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工序表
|
|
|
|
|
|
/// </summary>
|
2025-11-04 20:56:03 +08:00
|
|
|
|
[SugarTable("processmodel_process")]
|
|
|
|
|
|
public class ProcessmodelProcess
|
2025-09-20 15:33:58 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 主键ID
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
2025-11-04 20:56:03 +08:00
|
|
|
|
public long Id { get; set; }
|
2025-09-20 15:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工序编码
|
|
|
|
|
|
/// </summary>
|
2025-11-04 20:56:03 +08:00
|
|
|
|
[SugarColumn(ColumnName = "process_code")]
|
|
|
|
|
|
public string ProcessCode { get; set; }
|
2025-09-20 15:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工序名称
|
|
|
|
|
|
/// </summary>
|
2025-11-04 20:56:03 +08:00
|
|
|
|
[SugarColumn(ColumnName = "process_name")]
|
|
|
|
|
|
public string ProcessName { get; set; }
|
2025-09-20 15:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 所属工艺路线ID
|
|
|
|
|
|
/// </summary>
|
2025-09-23 16:53:22 +08:00
|
|
|
|
[SugarColumn(ColumnName = "routing_code")]
|
|
|
|
|
|
public string RoutingCode { get; set; }
|
2025-09-20 15:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工序顺序号
|
|
|
|
|
|
/// </summary>
|
2025-11-04 20:56:03 +08:00
|
|
|
|
[SugarColumn(ColumnName = "process_seq")]
|
|
|
|
|
|
public int PorcessSeq { get; set; }
|
2025-09-20 15:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工作中心/设备/车间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "work_center")]
|
|
|
|
|
|
public string WorkCenter { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 标准工时(单位:分钟)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "standard_time")]
|
|
|
|
|
|
public decimal StandardTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 工序描述
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "create_time")]
|
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "update_time")]
|
|
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否有效:1=有效,0=无效
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "is_active")]
|
|
|
|
|
|
public string IsActive { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|