From d9a1f2e7ffce03e84a9548d7c99c81e1d34ac474 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 08 十月 2024 15:56:41 +0800
Subject: [PATCH] 区间工价,历史工价
---
cylsg/cylsg.Model/UserModel/User.cs | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/cylsg/cylsg.Model/UserModel/User.cs b/cylsg/cylsg.Model/UserModel/User.cs
index bc6a074..739353a 100644
--- a/cylsg/cylsg.Model/UserModel/User.cs
+++ b/cylsg/cylsg.Model/UserModel/User.cs
@@ -15,7 +15,7 @@
/// </summary>
[Description("鐢ㄦ埛妯″瀷")]
[CoderFirst]
- public class User:BaseModelBase
+ public class User: BaseModel
{
/// <summary>
/// 鐢ㄦ埛Id
@@ -26,7 +26,7 @@
/// <summary>
/// 鐢佃瘽
/// </summary>
- [SugarColumn(ColumnDescription = "鐢佃瘽", ColumnDataType = "nvarchar(30)")]
+ [SugarColumn(ColumnDescription = "鐢佃瘽", ColumnDataType = "nvarchar(30)", IsNullable = true)]
public string Phone { get; set; }
/// <summary>
@@ -43,20 +43,25 @@
/// <summary>
/// 鏄电О
/// </summary>
- [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", ColumnDataType = "nvarchar(100)")]
- public string Nickname { get; set; }
+ [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ public string? Nickname { get; set; }
/// <summary>
/// 瀵嗙爜
/// </summary>
- [SugarColumn(ColumnDescription = "瀵嗙爜", ColumnDataType = "nvarchar(100)")]
- public string PassWord { get; set; }
+ [SugarColumn(ColumnDescription = "瀵嗙爜", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ public string? PassWord { get; set; }
/// <summary>
/// 澶村儚鍦板潃
/// </summary>
- [SugarColumn(ColumnDescription = "澶村儚鍦板潃", ColumnDataType = "nvarchar(500)")]
- public string Avatar { get; set; }
+ [SugarColumn(ColumnDescription = "澶村儚鍦板潃", ColumnDataType = "nvarchar(500)", IsNullable = true)]
+ public string? Avatar { get; set; }
+ /// <summary>
+ /// 寰俊WxOpenId
+ /// </summary>
+ [SugarColumn(ColumnDescription = "WxOpenId", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ public string? WxOpenId { get; set; }
}
}
--
Gitblit v1.9.1