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

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

        /// <summary>
        /// 
        /// </summary>
        public int AllotId { get; set; }

        /// <summary>
        /// 科室
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 医生姓名
        /// </summary>
        public string DoctorName { get; set; }

        /// <summary>
        /// 人员工号
        /// </summary>
        public string PersonnelNumber { get; set; }

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

        /// <summary>
        /// 费用
        /// </summary>
        public Nullable<decimal> Fee { get; set; }

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

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

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

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

        /// <summary>
        /// 创建时间
        /// </summary>
        public Nullable<DateTime> CreateTime { get; set; }

        /// <summary>
        /// 1 删除 0 未删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 数据来源 0 提取 1 录入
        /// </summary>
        public int FromSource { get; set; }
    }
}
