using Microsoft.EntityFrameworkCore;
|
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
/*
|
* @author : 刘文奇
|
* @date : 2024/4/23下午6:13:28
|
* @desc : 库位表
|
*/
|
namespace Admin.NET.Core
|
{
|
/// <summary>
|
/// 库位表
|
/// </summary>
|
[Table("wms_place")]
|
[Comment("库位表")]
|
public class WmsPlace : DEntityBase
|
{
|
|
|
/// <summary>
|
/// 库位编码
|
/// </summary>
|
[Comment("库位编码")]
|
[Required]
|
[MaxLength(50)]
|
public string PlaceCode { get; set; }
|
|
|
/// <summary>
|
/// 库位名称
|
/// </summary>
|
[Comment("库位名称")]
|
[Required]
|
[MaxLength(255)]
|
public string PlaceName { get; set; }
|
|
|
/// <summary>
|
/// 库位别名
|
/// </summary>
|
[Comment("库位别名")]
|
[MaxLength(255)]
|
public string PlaceAlias { get; set; }
|
|
|
/// <summary>
|
/// 库位类型
|
/// </summary>
|
[Comment("库位类型")]
|
[Required]
|
|
public int PlaceType { get; set; }
|
|
|
/// <summary>
|
/// 存放单位
|
/// </summary>
|
[Comment("存放单位")]
|
[MaxLength(255)]
|
public string StockUnit { get; set; }
|
|
|
/// <summary>
|
/// 库位类型名称
|
/// </summary>
|
[Comment("库位类型名称")]
|
[MaxLength(50)]
|
public string PlaceTypeName { get; set; }
|
|
|
/// <summary>
|
/// 库位属性
|
/// </summary>
|
[Comment("库位属性")]
|
[Required]
|
|
public int PlaceStatus { get; set; }
|
|
|
/// <summary>
|
/// 条码级管控
|
/// </summary>
|
[Comment("条码级管控")]
|
|
public bool? IsBarcodeLevelControl { get; set; }
|
|
|
/// <summary>
|
/// 允许混淆
|
/// </summary>
|
[Comment("允许混淆")]
|
|
public bool? IsAllowConfusion { get; set; }
|
|
|
/// <summary>
|
/// 允许负库存
|
/// </summary>
|
[Comment("允许负库存")]
|
|
public bool? IsAllowNegativeInventory { get; set; }
|
|
|
/// <summary>
|
/// 检验先进先出
|
/// </summary>
|
[Comment("检验先进先出")]
|
|
public bool? IsFIFO { get; set; }
|
|
|
/// <summary>
|
/// 零件级管控
|
/// </summary>
|
[Comment("零件级管控")]
|
|
public bool? IsPartLevelControl { get; set; }
|
|
|
/// <summary>
|
/// 是否堆垛机库位
|
/// </summary>
|
[Comment("是否堆垛机库位")]
|
|
public bool? IsSrmPlace { get; set; }
|
|
|
/// <summary>
|
/// 堆垛机库位号
|
/// </summary>
|
[Comment("堆垛机库位号")]
|
[MaxLength(50)]
|
public string SrmPlaceNo { get; set; }
|
|
|
/// <summary>
|
/// 是否RGV库位
|
/// </summary>
|
[Comment("是否RGV库位")]
|
|
public bool? IsRgvPlace { get; set; }
|
|
|
/// <summary>
|
/// RGV库位号
|
/// </summary>
|
[Comment("RGV库位号")]
|
[MaxLength(50)]
|
public string RgvPlaceNo { get; set; }
|
|
|
/// <summary>
|
/// 是否AGV库位
|
/// </summary>
|
[Comment("是否AGV库位")]
|
|
public bool? IsAgvPlace { get; set; }
|
|
|
/// <summary>
|
/// AGV库位号
|
/// </summary>
|
[Comment("AGV库位号")]
|
[MaxLength(50)]
|
public string AgvPlaceNo { get; set; }
|
|
|
/// <summary>
|
/// 是否输送线库位
|
/// </summary>
|
[Comment("是否输送线库位")]
|
|
public bool? IsTransPlace { get; set; }
|
|
|
/// <summary>
|
/// 输送线库位号
|
/// </summary>
|
[Comment("输送线库位号")]
|
[MaxLength(50)]
|
public string TransPlaceNo { get; set; }
|
|
|
/// <summary>
|
/// 是否激活与任务调度
|
/// </summary>
|
[Comment("是否激活与任务调度")]
|
|
public bool? IsActivateWCS { get; set; }
|
|
|
/// <summary>
|
/// 库存环境
|
/// </summary>
|
[Comment("库存环境")]
|
[MaxLength(255)]
|
public string Environment { get; set; }
|
|
|
/// <summary>
|
/// 所在库区
|
/// </summary>
|
[Comment("所在库区")]
|
[Required]
|
|
public long AreaId { get; set; }
|
|
|
/// <summary>
|
/// 库区名称
|
/// </summary>
|
[Comment("库区名称")]
|
[MaxLength(255)]
|
public string AreaName { get; set; }
|
|
|
/// <summary>
|
/// 检验码
|
/// </summary>
|
[Comment("检验码")]
|
[MaxLength(255)]
|
public string VerificationCode { get; set; }
|
|
|
/// <summary>
|
/// 排
|
/// </summary>
|
[Comment("排")]
|
[Required]
|
|
public int RowNo { get; set; }
|
|
|
/// <summary>
|
/// 列
|
/// </summary>
|
[Comment("列")]
|
[Required]
|
|
public int ColumnNo { get; set; }
|
|
|
/// <summary>
|
/// 层
|
/// </summary>
|
[Comment("层")]
|
[Required]
|
|
public int LayerNo { get; set; }
|
|
|
/// <summary>
|
/// 巷道
|
/// </summary>
|
[Comment("巷道")]
|
[Required]
|
|
public int LaneNo { get; set; }
|
|
|
/// <summary>
|
/// 库位X坐标
|
/// </summary>
|
[Comment("库位X坐标")]
|
[MaxLength(255)]
|
public string Xzb { get; set; }
|
|
|
/// <summary>
|
/// 库位Y坐标
|
/// </summary>
|
[Comment("库位Y坐标")]
|
[MaxLength(255)]
|
public string Yzb { get; set; }
|
|
|
/// <summary>
|
/// 库位Z坐标
|
/// </summary>
|
[Comment("库位Z坐标")]
|
[MaxLength(255)]
|
public string Zzb { get; set; }
|
|
|
/// <summary>
|
/// 库位长度
|
/// </summary>
|
[Comment("库位长度")]
|
[Required]
|
[Column("Length", TypeName = "decimal(10,3)")]
|
public decimal Length { get; set; }
|
|
|
/// <summary>
|
/// 库位宽度
|
/// </summary>
|
[Comment("库位宽度")]
|
[Required]
|
[Column("Width", TypeName = "decimal(10,3)")]
|
public decimal Width { get; set; }
|
|
|
/// <summary>
|
/// 库位高度
|
/// </summary>
|
[Comment("库位高度")]
|
[Required]
|
[Column("Height", TypeName = "decimal(10,3)")]
|
public decimal Height { get; set; }
|
|
|
/// <summary>
|
/// 最大承重
|
/// </summary>
|
[Comment("最大承重")]
|
[Required]
|
[Column("MaxWeight", TypeName = "decimal(10,3)")]
|
public decimal MaxWeight { get; set; }
|
|
|
/// <summary>
|
/// 库位高度属性
|
/// </summary>
|
[Comment("库位高度属性")]
|
[Required]
|
|
public int HeightLevel { get; set; }
|
|
|
/// <summary>
|
/// 入库顺序
|
/// </summary>
|
[Comment("入库顺序")]
|
[Required]
|
|
public int InSequence { get; set; }
|
|
|
/// <summary>
|
/// 出库顺序
|
/// </summary>
|
[Comment("出库顺序")]
|
[Required]
|
|
public int OutSequence { get; set; }
|
|
|
/// <summary>
|
/// 是否虚拟
|
/// </summary>
|
[Comment("是否虚拟")]
|
[Required]
|
|
public bool IsVirtually { get; set; }
|
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
[Comment("是否禁用")]
|
[Required]
|
|
public bool IsDisabled { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|