//-----------------------------------------------------------------------
// <copyright file=" cust_script.cs">
// * FileName: 自定义导出.cs 
// </copyright>
//-----------------------------------------------------------------------
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Performance.EntityModels
{
    /// <summary>
    /// 自定义导出
    /// </summary>
    [Table("cust_script")]
    public class cust_script
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 医院ID
        /// </summary>
        public int HospitalId { get; set; }

        /// <summary>
        /// 是否允许一次分配下载 1 允许 2 禁止
        /// </summary>
        public int IsOnceAllot { get; set; }

        /// <summary>
        /// 是否允许二次分配下载 1 允许 2 禁止
        /// </summary>
        public int IsSecondAllot { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

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

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

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