using Admin.NET.Application;
using Admin.NET.Core;
/*
* @author : 刘文奇
* @date : 2024/5/10下午1:41:40
* @desc : 库区表
*/
namespace Admin.NET.Application.Entity
{
///
/// 库区表
///
[SugarTable("wms_base_area", "库区表")]
public class WmsBaseArea : EntityBase
{
///
/// 所属仓库
///
[Required]
[SugarColumn(ColumnName = "WarehouseId", ColumnDescription = "所属仓库")]
public long WarehouseId { get; set; }
///
/// 仓库编号
///
[SugarColumn(ColumnName = "WarehouseCode", ColumnDescription = "仓库编号", Length = 50)]
public string? WarehouseCode { get; set; }
///
/// 仓库名称
///
[SugarColumn(ColumnName = "WarehouseName", ColumnDescription = "仓库名称", Length = 50)]
public string? WarehouseName { get; set; }
///
/// 库区类型
///
[Required]
[SugarColumn(ColumnName = "AreaType", ColumnDescription = "库区类型")]
public AreaTypeEnum AreaType { get; set; }
///
/// 库区编码
///
[Required]
[SugarColumn(ColumnName = "AreaCode", ColumnDescription = "库区编码", Length = 50)]
public string AreaCode { get; set; }
///
/// 库区名称
///
[Required]
[SugarColumn(ColumnName = "AreaName", ColumnDescription = "库区名称", Length = 50)]
public string AreaName { get; set; }
///
/// 库区描述
///
[SugarColumn(ColumnName = "AreaDesc", ColumnDescription = "库区描述", Length = 255)]
public string? AreaDesc { get; set; }
///
/// 库存地编码
///
[SugarColumn(ColumnName = "ErpCode", ColumnDescription = "库存地编码", Length = 255)]
public string? ErpCode { get; set; }
///
/// 条码级管控
///
[SugarColumn(ColumnName = "IsBarcodeLevelControl", ColumnDescription = "条码级管控")]
public bool? IsBarcodeLevelControl { get; set; }
///
/// 检验先进先出
///
[SugarColumn(ColumnName = "IsFIFO", ColumnDescription = "检验先进先出")]
public bool? IsFIFO { get; set; }
///
/// 零件级管控
///
[SugarColumn(ColumnName = "IsPartLevelControl", ColumnDescription = "零件级管控")]
public bool? IsPartLevelControl { get; set; }
///
/// 允许混淆
///
[SugarColumn(ColumnName = "IsAllowConfusion", ColumnDescription = "允许混淆")]
public bool? IsAllowConfusion { get; set; }
///
/// 允许负库存
///
[SugarColumn(ColumnName = "IsAllowNegativeInventory", ColumnDescription = "允许负库存")]
public bool? IsAllowNegativeInventory { get; set; }
///
/// 是否虚拟
///
[SugarColumn(ColumnName = "IsVirtually", ColumnDescription = "是否虚拟")]
public bool? IsVirtually { get; set; }
///
/// 是否禁用
///
[Required]
[SugarColumn(ColumnName = "IsDisabled", ColumnDescription = "是否禁用")]
public bool IsDisabled { get; set; }
}
}