From 02f362e1db42f4315cf923f7643b09150585c52c Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期四, 12 九月 2024 13:13:42 +0800
Subject: [PATCH] 引用升级

---
 Yw.Service.Unit.Core/01-entity/01-lang/SysUnitLang.cs |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Yw.Service.Unit.Core/01-entity/01-lang/SysUnitLang.cs b/Yw.Service.Unit.Core/01-entity/01-lang/SysUnitLang.cs
index 54d6cd0..1e0fc21 100644
--- a/Yw.Service.Unit.Core/01-entity/01-lang/SysUnitLang.cs
+++ b/Yw.Service.Unit.Core/01-entity/01-lang/SysUnitLang.cs
@@ -4,7 +4,7 @@
     /// 绯荤粺鍗曚綅璇█
     /// </summary>
     [SugarTable("sys_unit_lang")]
-    public class SysUnitLang : BaseEntity, ISorter, System.ICloneable
+    public class SysUnitLang : BaseEntity, ICode, ISorter, System.ICloneable
     {
         /// <summary>
         /// 
@@ -25,11 +25,13 @@
         /// <summary>
         /// 鍚嶇О
         /// </summary>
+        [SugarColumn(Length = 50, IsNullable = true)]
         public string Name { get; set; }
 
         /// <summary>
         /// 缂栫爜
         /// </summary>
+        [SugarColumn(Length = 100, IsNullable = true)]
         public string Code { get; set; }
 
         /// <summary>
@@ -40,6 +42,7 @@
         /// <summary>
         /// 璇存槑
         /// </summary>
+        [SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
         public string Description { get; set; }
 
         /// <summary>

--
Gitblit v1.9.3