using Admin.NET.Core;
/*
* @author : 刘文奇
* @date : 2024/5/10下午1:39:40
* @desc : 仓库表
*/
namespace Admin.NET.Application.Entity
{
///
/// 仓库表
///
[SugarTable("wms_base_warehouse", "仓库表")]
public class WmsBaseWarehouse : EntityBase
{
///
/// 仓库编号
///
[Required]
[SugarColumn(ColumnName = "Code", ColumnDescription = "仓库编号", Length = 50)]
public string Code { get; set; }
///
/// 仓库名称
///
[Required]
[SugarColumn(ColumnName = "Name", ColumnDescription = "仓库名称", Length = 50)]
public string Name { get; set; }
///
/// 仓库地址
///
[SugarColumn(ColumnName = "Address", ColumnDescription = "仓库地址", Length = 255)]
public string? Address { get; set; }
///
/// 工厂ID
///
[Required]
[SugarColumn(ColumnName = "FactoryId", ColumnDescription = "工厂ID")]
public long FactoryId { get; set; }
///
/// 工厂名称
///
[SugarColumn(ColumnName = "FactoryName", ColumnDescription = "工厂名称", Length = 255)]
public string? FactoryName { get; set; }
///
/// 工厂编号
///
[SugarColumn(ColumnName = "FactoryCode", ColumnDescription = "工厂编号", Length = 50)]
public string? FactoryCode { get; set; }
///
/// 长
///
[SugarColumn(ColumnName = "Length", ColumnDescription = "长", Length = 10, DecimalDigits = 3)]
public decimal? Length { get; set; }
///
/// 宽
///
[SugarColumn(ColumnName = "Width", ColumnDescription = "宽", Length = 10, DecimalDigits = 3)]
public decimal? Width { get; set; }
///
/// 高
///
[SugarColumn(ColumnName = "Height", ColumnDescription = "高", Length = 10, DecimalDigits = 3)]
public decimal? Height { get; set; }
///
/// 基本单元
///
[SugarColumn(ColumnName = "BaseUnit", ColumnDescription = "基本单元", Length = 255)]
public string? BaseUnit { get; set; }
///
/// 定位
///
[SugarColumn(ColumnName = "Position", ColumnDescription = "定位", Length = 255)]
public string? Position { get; set; }
///
/// 是否禁用
///
[Required]
[SugarColumn(ColumnName = "IsDisabled", ColumnDescription = "是否禁用")]
public bool IsDisabled { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 255)]
public string? Remarks { get; set; }
}
}