From 43baedbcf347ab10c73d6e4fcda841a6719d31e1 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期五, 12 九月 2025 11:17:27 +0800
Subject: [PATCH] no message
---
cylsg/cylsg.Model/UserModel/User.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/cylsg/cylsg.Model/UserModel/User.cs b/cylsg/cylsg.Model/UserModel/User.cs
index 739353a..1c4d35b 100644
--- a/cylsg/cylsg.Model/UserModel/User.cs
+++ b/cylsg/cylsg.Model/UserModel/User.cs
@@ -43,7 +43,7 @@
/// <summary>
/// 鏄电О
/// </summary>
- [SugarColumn(ColumnDescription = "鐢ㄦ埛ID", ColumnDataType = "nvarchar(100)", IsNullable = true)]
+ [SugarColumn(ColumnDescription = "鐢ㄦ埛鏄电О", ColumnDataType = "nvarchar(100)", IsNullable = true)]
public string? Nickname { get; set; }
@@ -63,5 +63,12 @@
/// </summary>
[SugarColumn(ColumnDescription = "WxOpenId", ColumnDataType = "nvarchar(100)", IsNullable = true)]
public string? WxOpenId { get; set; }
+
+
+ /// <summary>
+ /// 鐢ㄦ埛琛ㄦ儏銆�
+ /// </summary>
+ [Navigate(NavigateType.OneToOne, nameof(Id),nameof(UserWorker.UserId))]
+ public UserWorker Worek { get; set; }
}
}
--
Gitblit v1.9.1