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
{
    /// <summary>
    /// 科室表
    /// </summary>
   public  class Department : IBaseModel<string>
    {

        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string  name { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int isdelete { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int isplay { get; set; }
    }
}
