From d3bf3cea8c5a35a8a6ecd5c7d2652f869bac6c44 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 15 八月 2024 12:47:42 +0800
Subject: [PATCH] 表

---
 cylsg/cylsg.Model/UserModel/User.cs |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/cylsg/cylsg.Model/UserModel/User.cs b/cylsg/cylsg.Model/UserModel/User.cs
index e6215eb..bc6a074 100644
--- a/cylsg/cylsg.Model/UserModel/User.cs
+++ b/cylsg/cylsg.Model/UserModel/User.cs
@@ -26,37 +26,37 @@
         /// <summary>
         /// 鐢佃瘽
         /// </summary>
-        [SugarColumn(ColumnDescription = "鐢佃瘽")]
+        [SugarColumn(ColumnDescription = "鐢佃瘽", ColumnDataType = "nvarchar(30)")]
         public string Phone { get; set; }
 
         /// <summary>
         /// 鍚嶇О
         /// </summary>
-        [SugarColumn(ColumnDescription = "鍚嶇О",Length =100)]
+        [SugarColumn(ColumnDescription = "鍚嶇О", ColumnDataType = "nvarchar(100)")]
         public string name { get; set; }
         /// <summary>
         /// 鐢佃瘽鍙风爜
         /// </summary>
-        [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", Length = 30)]
+        [SugarColumn(ColumnDescription = "鐢佃瘽鍙风爜", ColumnDataType = "nvarchar(30)")]
         public string ItCode { get; set; }
 
         /// <summary>
         /// 鏄电О
         /// </summary>
-        [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", Length = 100)]
-        public int Nickname { get; set; }
+        [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", ColumnDataType = "nvarchar(100)")]
+        public string Nickname { get; set; }
 
 
         /// <summary>
         /// 瀵嗙爜
         /// </summary>
-        [SugarColumn(ColumnDescription = "瀵嗙爜", Length = 100)]
-        public int PassWord { get; set; }
+        [SugarColumn(ColumnDescription = "瀵嗙爜", ColumnDataType = "nvarchar(100)")]
+        public string PassWord { get; set; }
 
         /// <summary>
         /// 澶村儚鍦板潃
         /// </summary>
-        [SugarColumn(ColumnDescription = "澶村儚鍦板潃")]
-        public int Avatar { get; set; }
+        [SugarColumn(ColumnDescription = "澶村儚鍦板潃", ColumnDataType = "nvarchar(500)")]
+        public string Avatar { get; set; }
     }
 }

--
Gitblit v1.9.1