//-----------------------------------------------------------------------
// <copyright file=" siger_wms_stock_alarm.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_alarm.cs
// * history : Created by T4 08/06/2019 09:14:26
// </copyright>
//-----------------------------------------------------------------------

using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.WmsRepository.Entities
{
    /// <summary>
    /// siger_wms_stock_alarm Entity Model
    /// </summary>   
    public class siger_wms_stock_alarm : WmsEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }

        /// <summary>
        /// 物料id
        /// </summary>
        public int material_id { get; set; }
   
        /// <summary>
        /// 物料编号
        /// </summary>
        public string material_pn { get; set; }

        /// <summary>
        /// 处理人
        /// </summary>
        public int operate_mid { get; set; } = 0;

        /// <summary>
        /// 处理时间
        /// </summary>
        public int operate_time { get; set; } = 0;

        /// <summary>
        /// 信息类型 1 库存不足
        /// </summary>
        public int information_type { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int creator { get; set; }
   
        /// <summary>
        /// 创建时间
        /// </summary>
        public int create_time { get; set; }
   
        /// <summary>
        /// 
        /// </summary>
        public int projectid { get; set; }
   
        /// <summary>
        /// 1 未处理 2已处理
        /// </summary>
        public int status { get; set; }   

        /// <summary>
        /// 发生时间
        /// </summary>
        public int trigger_time { get; set; }

        /// <summary>
        /// 点击处理之后保存的当前库存
        /// </summary>
        public int stock_quantity { get; set; } = 0;
    }
}
