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