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