//-----------------------------------------------------------------------
// <copyright file=" sys_hospitalconfig.cs">
// * FileName: .cs 
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Performance.EntityModels
{
    /// <summary>
    /// 
    /// </summary>
    [Table("sys_hospitalconfig")]
    public class sys_hospitalconfig
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Nullable<int> HospitalId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ConfigName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string DbSource { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string DbName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string DbUser { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string DbPassword { get; set; }

        /// <summary>
        /// 1 标准库 2 绩效库
        /// </summary>
        public Nullable<int> Type { get; set; }

        /// <summary>
        /// 1、Sql Server  2、Orcale
        /// </summary>
        public int DataBaseType { get; set; }
    }
}
