From 15bbd62b0b24b72c717ae91ab45348a2083ad04e Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 10 十月 2025 08:58:18 +0800
Subject: [PATCH] 优化bug;

---
 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