222
schangxiang@126.com
2024-12-13 a5e54d60dbc5c695b8cadc21fcb44eb5c851f09c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
 
namespace Admin.NET.Core.Helper.ExcelHelper
{
    /// <summary>
    /// Excel 特性属性
    /// </summary>
    [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true), Serializable]
    public class ExcelDataOptionAttribute:Attribute
 
    {
        /// <summary>
        /// 显示列下标
        /// </summary>
        public ushort ColumnIndex { get; set; }
        /// <summary>
        /// 显示名称
        /// </summary>
        public string DisplayName { get; set; }
        /// <summary>
        /// 列宽
        /// </summary>
        public int ColumnWidth { get; set; }
        /// <summary>
        /// 单元格数据格式
        /// </summary>
        public string Formater { get; set; }
 
    }
}