From 9211ec11c112e18cd99e77f889a01110a70031ce Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 24 十一月 2025 17:47:15 +0800
Subject: [PATCH] 优化项目结构
---
HMI.Core/Annotation/ExcelColumn.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/HMI.Core/Annotation/ExcelColumn.cs b/HMI.Core/Annotation/ExcelColumn.cs
index c6ac1c8..29ae81d 100644
--- a/HMI.Core/Annotation/ExcelColumn.cs
+++ b/HMI.Core/Annotation/ExcelColumn.cs
@@ -6,10 +6,14 @@
public class ExcelColumnAttribute : Attribute
{
public string Name { get; private set; }
+ public bool IgnoreExport { get; private set; }
+ public bool IgnoreImport { get; private set; }
- public ExcelColumnAttribute(string name)
+ public ExcelColumnAttribute(string name, bool ignoreExport = false, bool ignoreImport = false)
{
this.Name = name;
+ this.IgnoreExport = ignoreExport;
+ this.IgnoreImport = ignoreImport;
}
}
}
--
Gitblit v1.9.1