namespace DOAN.Model.MES.process
{
///
/// 工艺建模关系表
///
[SugarTable("pro_model_relation")]
public class ProModelRelation
{
///
/// id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 项目id
///
[SugarColumn(ColumnName = "project_id")]
public long? ProjectId { get; set; }
///
/// 工艺路线id
///
[SugarColumn(ColumnName = "routing_id")]
public long? RoutingId { get; set; }
///
/// 工序id
///
[SugarColumn(ColumnName = "process_id")]
public long? ProcessId { get; set; }
///
/// 工步id
///
[SugarColumn(ColumnName = "step_id")]
public long? StepId { get; set; }
///
/// 操作码(绑定设备/自定义操作)
///
[SugarColumn(ColumnName = "operation_code")]
public string OperationCode { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public string CreateBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "update_by")]
public string UpdateBy { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
}