namespace DOAN.Model.MES.product;
///
/// 报工表 详情
///
[SplitTable(SplitType.Month)]//按年分表 (自带分表支持 年、季、月、周、日)
[SugarTable("pro_reportwork_detail_{year}{month}{day}")]//3个变量必须要有,这么设计为了兼容开始按年,后面改成按月、按日
public class ProReportworkDetail
{
///
/// 雪花
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Id { get; set; }
///
/// 工单号
///
[SugarColumn(ColumnName = "workorder")]
public string Workorder { get; set; }
///
/// 外箱标签序号
///
[SugarColumn(ColumnName = "package_index")]
public int package_index { get; set; }
///
/// 外箱标签条码
///
[SugarColumn(ColumnName = "package_label_code")]
public string PackageLabelCode { get; set; }
///
/// 产品标签码
///
[SugarColumn(ColumnName = "production_label_code")]
public string ProductionLabelCode { get; set; }
///
/// 线code
///
[SugarColumn(ColumnName = "line_code")]
public string LineCode { get; set; }
///
/// 组code
///
[SugarColumn(ColumnName = "group_code")]
public string GroupCode { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SplitField]
[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; }
}