35 lines
822 B
C#
35 lines
822 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
using EPPlus.Core.Extensions.Attributes;
|
|
|
|
namespace Szmedi.Test
|
|
{
|
|
public class TestExcel
|
|
{
|
|
[ExcelTableColumn("变更前")]
|
|
public Test Old { get; set; }
|
|
[ExcelTableColumn("变更后")]
|
|
public Test New { get; set; }
|
|
}
|
|
public class Test
|
|
{
|
|
public Test(string iD, string name, string description)
|
|
{
|
|
ID = iD;
|
|
Name = name;
|
|
Description = description;
|
|
}
|
|
|
|
[ExcelTableColumn("ID")]
|
|
public string ID { get; set; }
|
|
[ExcelTableColumn("名称")]
|
|
public string Name { get; set; }
|
|
[ExcelTableColumn("描述")]
|
|
public string Description { get; set; }
|
|
}
|
|
}
|