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

41 lines
1.1 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 物料列表
/// </summary>
[SugarTable("MaterialList","物料列表")]
public class MaterialList : EntityBaseId
{
/// <summary>
/// 物料ID
/// </summary>
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料ID")]
public long? MaterialsId { get; set; }
/// <summary>
/// 单位
/// </summary>
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 32)]
public string? Unit { get; set; }
/// <summary>
/// 数量
/// </summary>
[SugarColumn(ColumnName = "Count", ColumnDescription = "数量")]
public int? Count { get; set; }
/// <summary>
/// 来源ID
/// </summary>
[SugarColumn(ColumnName = "SourceId", ColumnDescription = "来源ID")]
public long? SourceId { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
}