大量更新
This commit is contained in:
34
Szmedi.Test/TestExcel.cs
Normal file
34
Szmedi.Test/TestExcel.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user