
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Entities
{
    /// <summary>
    /// siger_project_tool_spindle_true Entity Model
    /// </summary>   
    public class SigerProjectToolSpindleTrue : ToolEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int id { get; set; }
   
        /// <summary>
        /// 设备id
        /// </summary>
        public int equipid { get; set; }
   
        /// <summary>
        /// 主轴名称
        /// </summary>
        public string name { get; set; }

        #region 原始sigerprojecttoolspindle中的数据
        public string isstudy { get; set; }
        public string studystarttime { get; set; }
        public string studyendtime { get; set; }
        public string is_open_monitor { get; set; }
        public string comment { get; set; }
        public string monitortype { get; set; }
        public string description { get; set; }
        #endregion

        /// <summary>
        /// 1=有效；0=已删除
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 产品id
        /// </summary>
        public int productid { get; set; } = 0;
   
        /// <summary>
        /// 创建时间
        /// </summary>
        public int create_time { get; set; }
   
        /// <summary>
        /// 更新时间
        /// </summary>
        public int update_time { get; set; }
    }
}
