using System;
using Siger.Middlelayer.Common.FieldEnum;

namespace Siger.Middlelayer.TlmRepository.Entities
{
    public class siger_project_toollife_tool_install : TlmEntityBase
    {
        //public siger_project_toollife_tool_install()
        //{
        //    create_time = DateTime.Now;
        //}
        public int package_id { get; set; } = 0;

        public int tool_category { get; set; } = 1;

        public string tool_code { get; set; }

        public string machine_code { get; set; }

        public string cutter_number { get; set; }

        public InstallCategory install_category { get; set; }

        public DateTime create_time
        {
            get; set;
        } = DateTime.Now;

        public int install_userid { get; set; } = 0;

        public DateTime uninstall_time { get; set; }

        /// <summary>
        /// 卸载原因
        /// </summary>
        public string uninstall_reason { get; set; }

        /// <summary>
        /// 剩余寿命，暂时不用
        /// </summary>
        public string lastLife { get; set; }
        /// <summary>
        /// 加工数量
        /// </summary>
        public int process_count { get; set; }
        public int material_id { get; set; }
        public string boom_code { get; set; }
        /// <summary>
        /// 卸载code
        /// </summary>
        public string install_code { get; set; }
    }
}
