using iWare.Wms.Core.Enum;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using iWare.Wms.Core.Enum;
namespace iWare.Wms.Core
{
///
/// 空库位
///
[Table("v_empty_location")]
[Comment("空库位")]
public class v_empty_location : DEntityBase
{
///
/// 编码
///
[Comment("编码")]
[Required]
[MaxLength(50)]
public string PlaceCode { get; set; }
///
/// 库位状态;数据字典
///
[Comment("库位状态")]
[Required]
public PlaceStatus PlaceStatus { get; set; }
///
/// 所在库区
///
[Comment("所在库区")]
[Required]
public long AreaId { get; set; }
///
/// 排
///
[Comment("排")]
[Required]
public int RowNo { get; set; }
///
/// 列
///
[Comment("列")]
[Required]
public int ColumnNo { get; set; }
///
/// 层
///
[Comment("层")]
[Required]
public int LayerNo { get; set; }
///
/// 进深号
///
[Comment("进深号")]
[Required]
public DeepcellNoEnum? DeepcellNo { get; set; }
///
/// 巷道
///
[Comment("巷道")]
[Required]
public int Aisle { get; set; }
///
/// 线号
///
[Comment("线号")]
[Required]
public int Line { get; set; }
///
/// 是否锁定;数据字典
///
[Comment("是否锁定")]
[Required]
public YesOrNot Islock { get; set; }
///
/// 是否空托;数据字典
///
[Comment("是否空托")]
public YesOrNot EmptyContainer { get; set; }
///
/// 堆垛机内部的位置
///
[Comment("堆垛机内部的位置")]
[MaxLength(50)]
public string PositionnoForSrm { get; set; }
///
/// 库位X坐标
///
[Comment("库位X坐标")]
[MaxLength(50)]
public string Xzb { get; set; }
///
/// 库位Y坐标
///
[Comment("库位Y坐标")]
[MaxLength(50)]
public string Yzb { get; set; }
///
/// 库位Z坐标
///
[Comment("库位Z坐标")]
[MaxLength(50)]
public string Zzb { get; set; }
///
/// 库位长度
///
[Comment("库位长度")]
public decimal Length { get; set; }
///
/// 库位宽度
///
[Comment("库位宽度")]
public decimal Width { get; set; }
///
/// 库位高度
///
[Comment("库位高度")]
public decimal Height { get; set; }
///
/// 最大承重
///
[Comment("最大承重")]
public decimal MaxWeight { get; set; }
///
/// 库位高度;数据字典
///
[Comment("库位高度")]
public Heightlevel HeightLevel { get; set; }
///
/// 优先级
///
[Comment("优先级")]
public int Priority { get; set; }
///
/// 伸位号
///
[Comment("伸位号")]
public string UnionCode { get; set; }
///
/// 库位类型
///
public string WareLocationTypeCode { get; set; }
}
}