
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Entities
{
    /// <summary>
    /// siger_project_tool_alarm Entity Model
    /// </summary>   
    public class SigerProjectToolAlarm : ToolEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }
   
        /// <summary>
        /// 设备id
        /// </summary>
        public int machineid { get; set; }
   
        /// <summary>
        /// 主轴id
        /// </summary>
        public int spindleid { get; set; }
   
        /// <summary>
        /// 刀位id
        /// </summary>
        public int cutterlocationid { get; set; }
   
        /// <summary>
        /// 项目id
        /// </summary>
        public int projectid { get; set; }
   
        /// <summary>
        /// 发送信息的方式1：微信2：短信3：邮件
        /// </summary>
        public int type { get; set; }
   
        /// <summary>
        /// 生产简述
        /// </summary>
        public int cyclecounter { get; set; }
   
        /// <summary>
        /// 报错详情
        /// </summary>
        public string errmsg { get; set; }
   
        /// <summary>
        /// 生产步骤号
        /// </summary>
        public int stepnumber { get; set; }
   
        /// <summary>
        /// 报警时间
        /// </summary>
        public int alarmtime { get; set; }
   
        /// <summary>
        /// 规则id
        /// </summary>
        public int condition { get; set; }
    }
}
