using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 汇报单详情
///
[SugarTable("ReportDetailTable","汇报单详情")]
public class ReportDetailTable : EntityTenant
{
///
/// 产品名称
///
[Required]
[SugarColumn(ColumnName = "ProductName", ColumnDescription = "产品名称", Length = 32)]
public string ProductName { get; set; }
///
/// 产品编码
///
[SugarColumn(ColumnName = "ProductCodeNum", ColumnDescription = "产品编码", Length = 32)]
public string? ProductCodeNum { get; set; }
///
/// 单号
///
[SugarColumn(ColumnName = "OddNumber", ColumnDescription = "单号", Length = 32)]
public string? OddNumber { get; set; }
///
/// 状态
///
[Required]
[SugarColumn(ColumnName = "State", ColumnDescription = "状态", Length = 32)]
public string State { get; set; }
///
/// 生产类型
///
[SugarColumn(ColumnName = "ProductType", ColumnDescription = "生产类型", Length = 32)]
public string? ProductType { get; set; }
///
/// 生产线
///
[SugarColumn(ColumnName = "ProductionLine", ColumnDescription = "生产线", Length = 32)]
public string? ProductionLine { get; set; }
///
/// 生产线编码
///
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "生产线编码", Length = 32)]
public string? CodeNum { get; set; }
///
/// 源单号
///
[SugarColumn(ColumnName = "SourceNumber", ColumnDescription = "源单号", Length = 32)]
public string? SourceNumber { get; set; }
///
/// 规格型号
///
[SugarColumn(ColumnName = "Specifications", ColumnDescription = "规格型号", Length = 32)]
public string? Specifications { get; set; }
///
/// 完工数量
///
[SugarColumn(ColumnName = "ProductCount", ColumnDescription = "完工数量")]
public int? ProductCount { get; set; }
///
/// 入库数量
///
[SugarColumn(ColumnName = "PutWarehouse", ColumnDescription = "入库数量")]
public int? PutWarehouse { get; set; }
///
/// 基本完工数量
///
[SugarColumn(ColumnName = "BaseProductCount", ColumnDescription = "基本完工数量")]
public int? BaseProductCount { get; set; }
///
/// 基本入库数量
///
[SugarColumn(ColumnName = "BasePutWarehouse", ColumnDescription = "基本入库数量")]
public int? BasePutWarehouse { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string? Unit { get; set; }
///
/// 基本单位
///
[SugarColumn(ColumnName = "BaseUnit", ColumnDescription = "基本单位", Length = 32)]
public string? BaseUnit { get; set; }
///
/// 批次
///
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 32)]
public string? Batch { get; set; }
///
/// 包装规格
///
[SugarColumn(ColumnName = "Package", ColumnDescription = "包装规格", Length = 32)]
public string? Package { get; set; }
///
/// 包装数量
///
[SugarColumn(ColumnName = "PackageCount", ColumnDescription = "包装数量")]
public int? PackageCount { get; set; }
///
/// 采集失败数量
///
[SugarColumn(ColumnName = "GatherFalseCount", ColumnDescription = "采集失败数量")]
public int? GatherFalseCount { get; set; }
///
/// 生产日期
///
[SugarColumn(ColumnName = "ProductDate", ColumnDescription = "生产日期")]
public DateTime? ProductDate { get; set; }
///
/// 班组
///
[SugarColumn(ColumnName = "TeamGroup", ColumnDescription = "班组", Length = 32)]
public string? TeamGroup { get; set; }
///
/// 操作工人
///
[SugarColumn(ColumnName = "Operator", ColumnDescription = "操作工人", Length = 32)]
public string? Operator { get; set; }
///
/// 完工时间
///
[SugarColumn(ColumnName = "EndDate", ColumnDescription = "完工时间")]
public DateTime? EndDate { get; set; }
///
/// 源单号
///
[SugarColumn(ColumnName = "SourceOddNumber", ColumnDescription = "源单号", Length = 32)]
public string? SourceOddNumber { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料ID")]
public long? MaterialsId { get; set; }
}