
namespace Siger.Middlelayer.TpmRepository.Entities
{
    /// <summary>
    /// siger_project_repair Entity Model
    /// </summary>   
    public class siger_project_plan_item : TpmEntityBase
    {
        /// <summary>
        /// 1->设备类型共有；2->某设备独有
        /// </summary>
        public int type { get; set; } = 0;

        /// <summary>
        /// _project_machine_type.id
        /// </summary>
        public int typeid { get; set; } = 0;

        /// <summary>
        /// _project_machine.id
        /// </summary>
        public int machineid { get; set; } = 0;

        /// <summary>
        /// 维护检查的内容
        /// </summary>
        public string content { get; set; } = string.Empty;

        /// <summary>
        /// 1->勾选确定型；2->数值记录型
        /// </summary>
        public int value_type { get; set; } = 0;

        /// <summary>
        /// 模式 1->AM(自主执行)；2->PM
        /// </summary>
        public int mode { get; set; } = 0;

        /// <summary>
        /// 数值单位
        /// </summary>
        public string unit { get; set; } = string.Empty;

        /// <summary>
        /// 上限
        /// </summary>
        public string up_limit { get; set; } = string.Empty;

        /// <summary>
        /// 下限
        /// </summary>
        public string lower_limit { get; set; } = string.Empty;

        /// <summary>
        /// 严重度等级1->高；2->中；3->低
        /// </summary>
        public int severity_level { get; set; } = 0;

        /// <summary>
        /// 对应故障失效模式
        /// </summary>
        public string failure_mode { get; set; } = string.Empty;

        /// <summary>
        /// 执行指导书
        /// </summary>
        public string work_instruction_url { get; set; } = string.Empty;

        /// <summary>
        /// 结果样板
        /// </summary>
        public string result_demo_url { get; set; } = string.Empty;

        /// <summary>
        /// 计划用时（分钟）
        /// </summary>
        public int standard_time { get; set; } = 0;

        /// <summary>
        /// 实际停机时间（分钟）
        /// </summary>
        public int actual_standard_time { get; set; } = 0;

        /// <summary>
        /// 合作维修人
        /// </summary>
        public string corepairer { get; set; } = string.Empty;

        /// <summary>
        /// 执行周期（天）
        /// </summary>
        public int instruction_cycle { get; set; } = 0;

        /// <summary>
        /// 创建人
        /// </summary>
        public int create_mid { get; set; } = 0;

        /// <summary>
        /// 创建时间
        /// </summary>
        public int create_time { get; set; } = 0;

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; } = string.Empty;

        /// <summary>
        /// 执行指导书name
        /// </summary>
        public string work_instruction_name { get; set; } = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public int projectid { get; set; }

        /// <summary>
        /// 维护工具
        /// </summary>
        public string maintain_tool { get; set; } = string.Empty;

        /// <summary>
        /// 维护备件
        /// </summary>
        public string maintain_sparepart { get; set; } = string.Empty;

        /// <summary>
        /// 命中项
        /// </summary>
        public string hit_item { get; set; } = string.Empty;

        /// <summary>
        /// 维护方法
        /// </summary>
        public string maintain_method { get; set; } = string.Empty;

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