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

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

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

        /// <summary>
        /// 来源
        /// </summary>
        public string SourceType { get; set; }

        /// <summary>
        /// 费用类型
        /// </summary>
        public string Category { get; set; }

        /// <summary>
        /// 执行sql
        /// </summary>
        public string ExecScript { get; set; }

        /// <summary>
        /// 数据库类型1、Sql Server  2、Orcale
        /// </summary>
        public int DatabaseType { get; set; }

        /// <summary>
        /// 配置Id
        /// </summary>
        public int ConfigId { get; set; }

        /// <summary>
        /// 是否可用 1 可用 2 不可用
        /// </summary>
        public int IsEnable { get; set; }
    }
}
