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

67 lines
1.9 KiB
C#
Raw Normal View History

2024-04-16 09:05:07 +00:00
using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 包装关系
/// </summary>
[SugarTable("PackageInfo","包装关系")]
public class PackageInfo : EntityTenant
{
/// <summary>
/// 物料Id
/// </summary>
[Required]
[SugarColumn(ColumnName = "MaterialsId", ColumnDescription = "物料Id")]
public long MaterialsId { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[Required]
[SugarColumn(ColumnName = "IsEnable", ColumnDescription = "是否启用")]
public bool IsEnable { get; set; }
/// <summary>
/// 条码类型编码
/// </summary>
[SugarColumn(ColumnName = "CodeTypeNum", ColumnDescription = "条码类型编码", Length = 32)]
public string? CodeTypeNum { get; set; }
/// <summary>
/// 条码类型
/// </summary>
[SugarColumn(ColumnName = "CodeType", ColumnDescription = "条码类型", Length = 32)]
public string? CodeType { get; set; }
/// <summary>
/// 包装关系名称
/// </summary>
[SugarColumn(ColumnName = "PackageName", ColumnDescription = "包装关系名称", Length = 32)]
public string? PackageName { get; set; }
/// <summary>
/// 单位Id
/// </summary>
[SugarColumn(ColumnName = "UnitId", ColumnDescription = "单位Id")]
public long? UnitId { get; set; }
/// <summary>
/// 单位
/// </summary>
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位名称", Length = 32)]
public string? Unit { get; set; }
/// <summary>
/// 单位组Id
/// </summary>
[SugarColumn(ColumnName = "UnitGroupId", ColumnDescription = "单位组Id")]
public long? UnitGroupId { get; set; }
/// <summary>
/// 产品数量
/// </summary>
[SugarColumn(ColumnName = "ProductCount", ColumnDescription = "产品数量", Length = 32)]
public string? ProductCount { get; set; }
}