using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Sugar.Enties.DbModels
{
    [SugarTable("fdc_pm_inspection_plan")]
    public partial class fdc_pm_inspection_plan
    {

        public fdc_pm_inspection_plan()
        {

        }


        /// <summary>
        /// Desc:计划唯一标识
        /// Default:
        /// Nullable:False
        /// </summary>      
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int plancode { get; set; }

        /// <summary>
        /// Desc:计划名称
        /// Default:
        /// Nullable:False
        /// </summary>      
        public string planname { get; set; }


        /// <summary>
        /// Desc:路线唯一标识
        /// Default:
        /// Nullable:False
        /// </summary>      
        public int routecode { get; set; }

        /// <summary>
        /// Desc:计划开始时间
        /// Default:
        /// Nullable:True
        /// </summary>      
        public DateTime startdate { get; set; }


        /// <summary>
        /// Desc:计划结束时间
        /// Default:
        /// Nullable:True
        /// </summary>      
        public DateTime enddate { get; set; }

        /// <summary>
        /// Desc:计划制定人
        /// Default:
        /// Nullable:True
        /// </summary>      
        public string maker { get; set; }


        public DateTime createtime { get; set; }

        /// <summary>
        /// Desc:计划周期
        /// Default:
        /// Nullable:True
        /// </summary>   
        public string cycle { get; set; }


        /// <summary>
        /// Desc:计划频次
        /// Default:
        /// Nullable:True
        /// </summary>   
        public string frequency { get; set; }
    }



    [SugarTable("fdc_pm_inspection_plandetail")]
    public partial class fdc_pm_inspection_plandetail
    {

        public fdc_pm_inspection_plandetail()
        {

        }

        // <summary>
        /// Desc:具体计划唯一标识
        /// Default:
        /// Nullable:False
        /// </summary>     
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int autoid { get; set; }


        // <summary>
        /// Desc:父计划唯一标识
        /// Default:
        /// Nullable:False
        /// </summary>     
        public int plancode { get; set; }


        // <summary>
        /// Desc:巡更点唯一标识
        /// Default:
        /// Nullable:False
        /// </summary>     
        public string pointcode { get; set; }

        // <summary>
        /// Desc:巡更顺序
        /// Default:
        /// Nullable:False
        /// </summary>     
        public int sort { get; set; }


        // <summary>
        /// Desc: 计划巡更日期
        /// Default:
        /// Nullable:False
        /// </summary>  

        public DateTime planDate { get; set; }

        

        // <summary>
        /// Desc: 计划巡更时间
        /// Default:
        /// Nullable:False
        /// </summary>  

        public string plantime { get; set; }       


        // <summary>
        /// Desc:是否可用
        /// Default:
        /// Nullable:False
        /// </summary>  
        public bool enable { get; set; }


        // <summary>
        /// Desc:巡更状态
        /// Default:
        /// Nullable:False
        /// </summary>  
        public string status { get; set; }


        // <summary>
        /// Desc:巡更附件
        /// Default:
        /// Nullable:False
        /// </summary>  
        public string attach { get; set; }


        // <summary>
        /// Desc:巡更备注
        /// Default:
        /// Nullable:False
        /// </summary>  
        public string remark { get; set; }

        /// <summary>
        /// 实际巡更时间
        /// </summary>
        public string realtime { get; set; }


        // <summary>
        /// Desc:计划生成时间
        /// Default:
        /// Nullable:False
        /// </summary>  
        public DateTime createtime { get; set; }   
    }




    [SugarTable("fdc_pm_inspection_employeeplan")]
    public partial class fdc_pm_inspection_employeeplan
    {
        public fdc_pm_inspection_employeeplan() { 
        }

        public string userid { get; set; }

        public string username { get; set; }
        public int plancode { get; set; }

        public string planname { get; set; }
        public int totalcount { get; set; }

        public DateTime plandate { get; set; }

        public string plantime { get; set; }
        public DateTime createtime { get; set; }        

       
    }
}
