Location.cs 2.81 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 库位表
	/// </summary>
    [Table("location")]
    public partial class Location : SysEntity
    {
        public Location()
        {
        }

        /// <summary>
	    /// 库位
	    /// </summary>
        [Column("code")]
        public string Code { get; set; }
        /// <summary>
	    /// 行
	    /// </summary>
        [Column("row")]
        public short? Row { get; set; }
        /// <summary>
	    /// 列
	    /// </summary>
        [Column("line")]
        public short? Line { get; set; }
        /// <summary>
	    /// 层
	    /// </summary>
        [Column("layer")]
        public short? Layer { get; set; }
        /// <summary>
	    /// 格
	    /// </summary>
        [Column("grid")]
        public short? Grid { get; set; }
        /// <summary>
	    /// 最大高度
	    /// </summary>
        [Column("maxHeight")]
        public decimal? MaxHeight { get; set; }
        /// <summary>
	    /// 最大重量
	    /// </summary>
        [Column("maxWeight")]
        public decimal? MaxWeight { get; set; }
        /// <summary>
	    /// 双伸位索引
	    /// </summary>
        [Column("rowIndex")]
        public short? RowIndex { get; set; }
        /// <summary>
	    /// 巷道
	    /// </summary>
        [Column("roadway")]
        public int? Roadway { get; set; }
        /// <summary>
	    /// 相邻仓位
	    /// </summary>
        [Column("contiguousCode")]
        public string ContiguousCode { get; set; }
        /// <summary>
	    /// 库位类型
	    /// </summary>
        [Column("type")]
        public string Type { get; set; }
        /// <summary>
	    /// 是否禁用
	    /// </summary>
        [Column("isStop")]
        public bool? IsStop { get; set; }
        /// <summary>
	    /// 容器id号
	    /// </summary>
        [Column("containerId")]
        public int? ContainerId { get; set; }
        /// <summary>
	    /// 容器编码
	    /// </summary>
        [Column("containerCode")]
        public string ContainerCode { get; set; }
        /// <summary>
	    /// 状态
	    /// </summary>
        [Column("status")]
        public string Status { get; set; }
        /// <summary>
	    /// 物料编号
	    /// </summary>
        [Column("goodsNo")]
        public string GoodsNo { get; set; }
        /// <summary>
	    /// 上次盘点日期
	    /// </summary>
        [Column("lastCycleCountDate")]
        public System.DateTime? LastCycleCountDate { get; set; }
        /// <summary>
        /// 乐观锁
        /// </summary>
        [Column("version")]
        public byte[] Version { get; set; }
        /// <summary>
        /// 仓位分配类型
        /// </summary>
        [Column("distributionType")]
        public int? DistributionType { get; set; }
    }
}