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