DigitalFactory/Admin.NET/Admin.NET.Application/Entity/PrintRecords.cs

65 lines
1.8 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 打印记录
/// </summary>
[SugarTable("printrecords","打印记录")]
public class PrintRecords : EntityBase
{
/// <summary>
/// 物料ID
/// </summary>
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料ID")]
public long? MaterialsId { get; set; }
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
/// <summary>
/// 批次
/// </summary>
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 32)]
public string? Batch { get; set; }
/// <summary>
/// 完工数量
/// </summary>
[SugarColumn(ColumnName = "ProductCount", ColumnDescription = "完工数量")]
public int? ProductCount { get; set; }
/// <summary>
/// 基本完工数量
/// </summary>
[SugarColumn(ColumnName = "BaseProductCount", ColumnDescription = "基本完工数量")]
public int? BaseProductCount { get; set; }
/// <summary>
/// 单位
/// </summary>
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string? Unit { get; set; }
/// <summary>
/// 生产日期
/// </summary>
[SugarColumn(ColumnName = "ProductDate", ColumnDescription = "生产日期")]
public DateTime? ProductDate { get; set; }
/// <summary>
/// 失效日期
/// </summary>
[SugarColumn(ColumnName = "LoseDate", ColumnDescription = "失效日期")]
public DateTime? LoseDate { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
}