//-----------------------------------------------------------------------
// <copyright file=" siger_wms_stock_access_order_detail.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_access_order_detail.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_access_order_detail Entity Model
    /// </summary>   
    public class siger_wms_stock_access_order_detail : WmsEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }
   
        /// <summary>
        /// 入库单id
        /// </summary>
        public int orderid { get; set; }
   
        public int businessid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string stock_number { get; set; }
   
        /// <summary>
        /// 储位id
        /// </summary>
        public int storage_location_id { get; set; }
   
        /// <summary>
        /// 序号
        /// </summary>
        public string serial_number { get; set; }
   
        /// <summary>
        /// 批次号
        /// </summary>
        public string batch_number { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public int material_id { 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_mode { get; set; }
   
        /// <summary>
        /// 数量
        /// </summary>
        public int quantity { get; set; }
   
        /// <summary>
        /// 出入库数量
        /// </summary>
        public int access_quantity { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public string unit { get; set; }
   
        /// <summary>
        /// 入库人
        /// </summary>
        public int auditor { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public DateTime audit_time { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public string audit_desc { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public string audit_fail_reason { 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; }
        /// <summary>
        /// guid
        /// </summary>
        public string accessWo { get; set; }
    }
}
