zhuangpei-mesbackend/DOAN.Model/MES/product/ProReportworkDetail.cs
2025-04-06 16:14:31 +08:00

79 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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