using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 仓库
///
[SugarTable("Warehouse","仓库")]
public class Warehouse : EntityTenant
{
///
/// 名称
///
[SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)]
public string? Name { get; set; }
///
/// 编码
///
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)]
public string? CodeNum { get; set; }
///
/// 可用状态
///
[Required]
[SugarColumn(ColumnName = "IsEnable", ColumnDescription = "可用状态")]
public bool IsEnable { get; set; }
///
/// 仓库条码
///
[SugarColumn(ColumnName = "BarCode", ColumnDescription = "仓库条码", Length = 32)]
public string? BarCode { get; set; }
///
/// 仓库拓展字段
///
[SugarColumn(ColumnName = "ExpandField", ColumnDescription = "仓库拓展字段", Length = 32)]
public string? ExpandField { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 128)]
public string? Remarks { get; set; }
}