96 lines
2.7 KiB
C#
96 lines
2.7 KiB
C#
|
|
|
|||
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|
|||
|
|
namespace MDM.Model.Process
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
///
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("process_operation_workstation_mapping")]
|
|||
|
|
public class ProcessOperationWorkstationMapping
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Id
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 工序路线code
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "fk_routing_code")]
|
|||
|
|
public string FkRoutingCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 工序code
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "fk_operation_code")]
|
|||
|
|
public string FkOperationCode { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 生产线体/工作中心code
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "fk_productlinebody_code")]
|
|||
|
|
public string FkProductlinebodyCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 工位ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "fk_workstation_code")]
|
|||
|
|
public string FkWorkstationCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否有效:1=有效,0=无效
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "is_active")]
|
|||
|
|
public string IsActive { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 优先级(可选):如果某工位可执行多个工序,用来排序优先级
|
|||
|
|
/// </summary>
|
|||
|
|
public int? Priority { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 标准加工时间(分钟/小时,可选)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "standard_time")]
|
|||
|
|
public decimal StandardTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 准备时间(如换模等,可选)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "setup_time")]
|
|||
|
|
public decimal SetupTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// CreatedTime
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "created_time")]
|
|||
|
|
public DateTime? CreatedTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建人
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "created_by")]
|
|||
|
|
public string CreatedBy { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注信息
|
|||
|
|
/// </summary>
|
|||
|
|
public string Remark { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// UpdatedTime
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|||
|
|
public DateTime? UpdatedTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新人
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|||
|
|
public string UpdatedBy { get; set; }
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|