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

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

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

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

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

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

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

        /// <summary>
        /// 核算单元
        /// </summary>
        public string AccountingUnit { get; set; }

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

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

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

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

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

        /// <summary>
        /// 原始分类
        /// </summary>
        public string Original { get; set; }

        /// <summary>
        /// 标准分类
        /// </summary>
        public string ItemName { get; set; }

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

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