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

namespace Performance.EntityModels
{
    /// <summary>
    /// 二次分配不固定列头数据
    /// </summary>
    [Table("ag_header")]
    public class ag_header
    {
        /// <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> ParentID { get; set; }

        /// <summary>
        /// 行坐标
        /// </summary>
        public Nullable<int> PointRow { get; set; }

        /// <summary>
        /// 列坐标
        /// </summary>
        public Nullable<int> PointCell { get; set; }

        /// <summary>
        /// 是否合并 1 合并 2 不合并
        /// </summary>
        public Nullable<int> IsMerge { get; set; }

        /// <summary>
        /// 合并行
        /// </summary>
        public Nullable<int> MergeRow { get; set; }

        /// <summary>
        /// 合并列
        /// </summary>
        public Nullable<int> MergeCell { get; set; }

        /// <summary>
        /// 单元格内容
        /// </summary>
        public string CellValue { get; set; }

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

        /// <summary>
        /// 1 汇总  2原始数据
        /// </summary>
        public Nullable<int> IsTotal { get; set; }
    }
}
