using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MadRunFabric.Model.TestUserTypeApi
{
   public  class Yhpctabs: IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 排查标题
        /// </summary>
        public string Yhpctitle { get; set; }
        /// <summary>
        /// 风险等级编号 关联风险等级表
        /// </summary>
       [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string  Fxdjid { get; set; }
        /// <summary>
        /// 风险等级名称
        /// </summary>
        public string  Fxdjname { get; set; }
        /// <summary>
        /// 风险区域编号 关联风险区域表
        /// </summary>
        public string  Fxqyid { get; set; }
        /// <summary>
        /// 风险区域名称
        /// </summary>
        public string Fxqyname { get; set; }
        /// <summary>
        /// 风险院区
        /// </summary>
        public string Fxqyyq { get; set; }
        /// <summary>
        /// 区域楼号
        /// </summary>
        public string Fxqylh { get; set; }
        /// <summary>
        /// 区域楼层
        /// </summary>
        public string Fxqylc { get; set; }

        /// <summary>
        /// 详情信息
        /// </summary>
        public string Yhpcincont { get; set; }
        /// <summary>
        /// 故障图片
        /// </summary>
        public List<FileBaseModel> faultpic;
        /// <summary>
        /// 隐患排查录入时间
        /// </summary>
        public DateTime? Yhpcdate { get; set; }
        /// <summary>
        /// 排查班组 有班组时让班组下的用户都可以进行操作 修改等级
        /// </summary>
        public string Pcbz { get; set; }
        /// <summary>
        /// 排查科室 有科室时让科室下的用户和班组下的用户都可以进行操作
        /// </summary>
        public string Pcks { get; set; }
        /// <summary>
        /// 排查部门 同上以此类推
        /// </summary>
        public string  Pcbm { get; set; }
        /// <summary>
        /// 排查院级 同上以此类推
        /// </summary>
        public string  Pcyj { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int isdelete { get; set; }
    }
}
