using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace XYY.Core.Standard.ExcelHelper.MSExcelHelper
{
    public class ExcelMappingAttrItem
    {

        /// <summary>
        /// 列名
        /// </summary>
        public string ColumnName
        {
            get; set;
        }

        public string AtrrFormat
        {
            get; set;
        }

        public ExcelMappingAttrItem Name(string name)
        {
            this.ColumnName = name;
            return this;
        }

        public ExcelMappingAttrItem Format(string format)
        {
            this.AtrrFormat = format;
            return this;
        }


        /// <summary>
        /// 列名表达式
        /// </summary>
        public LambdaExpression LambdaExpression
        {
            get; set;
        }
    }
}
