//-----------------------------------------------------------------------
// <copyright file=" siger_wms_stock.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_stock.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_stock Entity Model
    /// </summary>   
    public class siger_wms_stock : WmsEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }
   
        /// <summary>
        /// 储位id
        /// </summary>
        public int storage_location_id { get; set; }
   
        /// <summary>
        /// 供应商id
        /// </summary>
        public int businessid { get; set; }

        /// <summary>
        /// 物料id
        /// </summary>
        public int material_id { get; set; }

        /// <summary>
        /// 1:在库 2:出库 3:领用 4:归还
        /// </summary>
        public int stock_state { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string material_name { get; set; }
   
        /// <summary>
        /// 物料编号
        /// </summary>
        public string material_pn { get; set; }
   
        /// <summary>
        /// 物料规格
        /// </summary>
        public string material_spec { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public string manage_model { get; set; }
   
        /// <summary>
        /// 类别
        /// </summary>
        public string category { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public string serial_number { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string batch_number { get; set; }
        /// <summary>
        /// 物料数量
        /// </summary>
        public int quantity { 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 stockNo { get; set; }

        
    }
}
