//-----------------------------------------------------------------------
// <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 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、Sql Server  2、Orcale
        /// </summary>
        public int DataBaseType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool IsConnectioned { get; set; }
    }
}
