//-----------------------------------------------------------------------
// <copyright file=" ag_data.cs">
// * FileName: 二次分配不固定数据.cs 
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Performance.EntityModels	
{
    /// <summary>
    /// 二次分配不固定数据
    /// </summary>
    [Table("ag_data")]
	public class ag_data
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
		public int ID { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
        public Nullable<int> AllotID { get; set; }
    
        /// <summary>
        /// 
        /// </summary>
        public Nullable<int> AgainAllotID { get; set; }
    
        /// <summary>
        /// 行号
        /// </summary>
        public Nullable<int> RowNumber { get; set; }
    
        /// <summary>
        /// 列头类型名称
        /// </summary>
        public string TypeName { get; set; }
    
        /// <summary>
        /// 单元格value
        /// </summary>
        public Nullable<decimal> CellValue { 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; }
    }
}
