using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 汇报单
///
[SugarTable("reporttable","汇报单")]
public class ReportTable : EntityTenant
{
///
/// 单号
///
[SugarColumn(ColumnName = "OddNumber", ColumnDescription = "单号", Length = 32)]
public string? OddNumber { get; set; }
///
/// 业务日期
///
[SugarColumn(ColumnName = "StartDate", ColumnDescription = "业务日期")]
public DateTime? StartDate { get; set; }
///
/// 状态
///
[SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
public int? 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 = "Remarks", ColumnDescription = "备注", Length = 64)]
public string? Remarks { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料ID")]
public long? MaterialsId { get; set; }
///
/// 源单ID
///
[SugarColumn(ColumnName = "SourceId", ColumnDescription = "源单ID")]
public long? SourceId { get; set; }
///
/// 完工数量
///
[SugarColumn(ColumnName = "ProductCount", ColumnDescription = "完工数量")]
public int? ProductCount { get; set; }
///
/// 基本完工数量
///
[SugarColumn(ColumnName = "BaseProductCount", ColumnDescription = "基本完工数量")]
public int? BaseProductCount { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string? Unit { get; set; }
///
/// 批次
///
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 32)]
public string? Batch { get; set; }
///
/// 名称
///
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
}