//-----------------------------------------------------------------------
// <copyright file=" ag_workload.cs">
// * FileName: 二次绩效工作量绩效.cs 
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Performance.EntityModels
{
    /// <summary>
    /// 二次绩效工作量绩效
    /// </summary>
    [Table("ag_workload")]
    public class ag_workload
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int Id { get; set; }

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

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

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

        /// <summary>
        /// 工作量考核项ID
        /// </summary>
        public string ItemId { get; set; }

        /// <summary>
        /// 工作量名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 工作量系数
        /// </summary>
        public Nullable<decimal> FactorValue { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Nullable<decimal> Sort { get; set; }

        /// <summary>
        /// -1、单项奖励 0、工作量占比 ..（自定义占比）
        /// </summary>
        public int WorkTypeId { get; set; }

        /// <summary>
        /// 工作量来源类型
        /// </summary>
        public string SourceCategory { get; set; }
    }
}
