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