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