using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace OpenAuth.Repository.Domain
{
    ///<summary>
    ///防火应急预案表
    ///</summary>
    [SugarTable("fm_preventionplan")]
    public partial class FmPreventionplan
    {
           public FmPreventionplan(){


           }
           /// <summary>
           /// Desc:主键
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string Id {get;set;}

           /// <summary>
           /// Desc:预案名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PlanName {get;set;}

           /// <summary>
           /// Desc:预案编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PlanCode {get;set;}

           /// <summary>
           /// Desc:预案类别（0总体应急预案、1专项应急预案、2部门预案）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? PlanCategory {get;set;}

           /// <summary>
           /// Desc:行政级别（省、市、区县、乡镇）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string AdmLevel {get;set;}

           /// <summary>
           /// Desc:预案描述
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Description {get;set;}

           /// <summary>
           /// Desc:预案内容
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Content {get;set;}

           /// <summary>
           /// Desc:预案状态（0草稿，1生效，2过期）
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? Status {get;set;}

           /// <summary>
           /// Desc:预案版本
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Version {get;set;}

           /// <summary>
           /// Desc:编制单位
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string WriteUnit {get;set;}

           /// <summary>
           /// Desc:编制时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CreateUser {get;set;}

           /// <summary>
           /// Desc:生效日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? EffectiveDate {get;set;}

           /// <summary>
           /// Desc:失效日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? expiry_date {get;set;}

           /// <summary>
           /// Desc:具体负责人的姓名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ResponsiblePerson {get;set;}

           /// <summary>
           /// Desc:责任人联系电话
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Contact {get;set;}

           /// <summary>
           /// Desc:预案附件
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Attachment {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Remarks {get;set;}

            /// <summary>
            /// Desc:是否删除
            /// Default:
            /// Nullable:True
            /// </summary>           
            public bool IsDelete { get; set; }

    }
}
