//-----------------------------------------------------------------------
// <copyright file=" siger_wms_storage_location.cs" company="xxxx Enterprises">
// * Copyright (C) 2019 xxxx Enterprises All Rights Reserved
// * version : 4.0.30319.42000
// * author  : auto generated by T4
// * FileName: siger_wms_storage_location.cs
// * history : Created by T4 04/01/2019 09:14:26
// </copyright>
//-----------------------------------------------------------------------

using System;
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.WmsRepository.Entities
{
    /// <summary>
    /// siger_wms_storage_location Entity Model
    /// </summary>   
    public class siger_wms_storage_location : WmsEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }
   
        /// <summary>
        /// 仓库id
        /// </summary>
        public int storageid { get; set; }
   
        /// <summary>
        /// 父类
        /// </summary>
        public int parentid { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
   
        /// <summary>
        /// 区分层级 区域1,货架2,层号3,位置4 
        /// </summary>
        public int level { get; set; }
   
        /// <summary>
        /// 分类
        /// </summary>
        public int typeid { get; set; }
   
        /// <summary>
        /// 储位编号-只有level=4才有
        /// </summary>
        public string serial_number { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public int creator { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public DateTime create_time { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public int updator { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public DateTime update_time { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public int projectid { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public int status { get; set; }

        public string option { get; set; }
        public string realname { get; set; }

        public int locationid { get; set; }
    }
}
