using System;
using System.ComponentModel.DataAnnotations;

namespace Siger.Middlelayer.ToolRepository.Entities
{
    public class siger_project_tool_blx_bd: ToolEntityBase
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]

        public int id { get; set; }

        /// <summary>
        /// 公司ID
        /// </summary>
        public int company_id { get; set; }

        /// <summary>
        /// 项目ID
        /// </summary>
        public int project_id { get; set; }

        /// <summary>
        /// 设备ID
        /// </summary>
        public int machine_id { get; set; }

        /// <summary>
        /// 主轴ID（名称，非外键）
        /// </summary>
        public string spindle_name { get; set; }

        /// <summary>
        /// 刀位ID（名称，非外键）
        /// </summary>
        public string cutter_location_name { get; set; }

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

        /// <summary>
        /// 加工步骤
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 加工过程阶段图片索引
        /// </summary>
        public int picIndex { get; set; }
        /// <summary>
        /// 开始时间 秒
        /// </summary>
        public string start_time { get; set; }

        /// <summary>
        /// 结束时间 秒
        /// </summary>
        public string end_time { get; set; }

        public int userid { get; set; }
        /// <summary>
        /// 状态  1有效  0无效
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime update_time { get; set; }
    }
}
