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