namespace DOAN.Model.MES.mm
{
///
/// 产前备料任务
///
[SugarTable("mm_preparation_task")]
public class MmPreparationTask
{
///
/// 雪花id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Id { get; set; }
///
/// 序号
///
[SugarColumn(ColumnName = "serial_num")]
public int SerialNum { get; set; }
///
/// 任务code(工单号_no)
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "task_code")]
public string TaskCode { get; set; }
///
/// 工单号
///
[SugarColumn(ColumnName = "fk_workorder")]
public string FkWorkorder { get; set; }
///
/// 备货状态(1 出货中,2 备好)
///
[SugarColumn(ColumnName = "preparation_status")]
public int? PreparationStatus { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "uPDATED_BY")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}