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

namespace Performance.EntityModels	
{
    /// <summary>
    /// 
    /// </summary>
    [Table("im_data")]
	public class im_data
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
		public int ID { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
        public Nullable<int> AllotID { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
        public Nullable<int> SheetID { get; set; }
    
        /// <summary>
        /// 核算单元类别 1 医生组 2护理组 3医技组
        /// </summary>
        public Nullable<int> UnitType { get; set; }
    
        /// <summary>
        /// 行号
        /// </summary>
        public Nullable<int> RowNumber { get; set; }
    
        /// <summary>
        /// 核算单元名称
        /// </summary>
        public string AccountingUnit { get; set; }
    
        /// <summary>
        /// 科室名称
        /// </summary>
        public string Department { get; set; }
    
        /// <summary>
        /// 列头类型名称
        /// </summary>
        public string TypeName { get; set; }
    
        /// <summary>
        /// 单元格value
        /// </summary>
        public Nullable<decimal> CellValue { get; set; }
    
        /// <summary>
        /// 1 加 2 减 3 乘
        /// </summary>
        public Nullable<int> ComputRule { get; set; }
    
        /// <summary>
        /// 1 汇总  2原始数据
        /// </summary>
        public Nullable<int> IsTotal { get; set; }
    
        /// <summary>
        /// 是否带入系数计算 1 带入 2 不带入
        /// </summary>
        public Nullable<int> IsFactor { get; set; }
    
        /// <summary>
        /// 系数值
        /// </summary>
        public Nullable<decimal> FactorValue { get; set; }
    
        /// <summary>
        /// 单元格注释
        /// </summary>
        public string Annotation { get; set; }
    
        /// <summary>
        /// 单元格备注
        /// </summary>
        public string Remark { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
        public string SignID { get; set; }
    }
}
