You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Infrastructure.Helpers.Excel.Model
|
|
|
|
|
{
|
|
|
|
|
public class ColumnModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 列名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Column { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Excel列名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ExcelColumn { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 宽度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Width { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 前景色
|
|
|
|
|
/// </summary>
|
|
|
|
|
public System.Drawing.Color ForeColor { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 背景色
|
|
|
|
|
/// </summary>
|
|
|
|
|
public System.Drawing.Color Background { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 字体
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Font { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 字号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public short Point { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///对齐方式
|
|
|
|
|
///left 左
|
|
|
|
|
///center 中间
|
|
|
|
|
///right 右
|
|
|
|
|
///fill 填充
|
|
|
|
|
///justify 两端对齐
|
|
|
|
|
///centerselection 跨行居中
|
|
|
|
|
///distributed
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Alignment { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 时间格式化
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DateFormat { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|