From 00720e9fbf531548b5ddeecd69a8e845e4f55015 Mon Sep 17 00:00:00 2001
From: pangwenpeng <17302161021@163.com>
Date: Tue, 28 May 2024 08:13:15 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98=EF=BC=8C=E6=AF=8F=E6=97=A5?=
 =?UTF-8?q?=E6=8B=89=E5=8E=BB=E6=96=B0=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 langguanApi/Controllers/UserController.cs     |  5 ++
 .../Model/Dto/SystemConfiguration/UserDto.cs  | 57 +++++++++++++++++++
 langguanApi/Model/Entity/UserEntity.cs        | 32 +++++++++++
 3 files changed, 94 insertions(+)
 create mode 100644 langguanApi/Model/Dto/SystemConfiguration/UserDto.cs
diff --git a/langguanApi/Controllers/UserController.cs b/langguanApi/Controllers/UserController.cs
index 7085b2d..2ea1c88 100644
--- a/langguanApi/Controllers/UserController.cs
+++ b/langguanApi/Controllers/UserController.cs
@@ -76,5 +76,10 @@ namespace langguanApi.Controllers
             await _userService.UpdateUser(input);
             return Ok(new ApiResult() { code = 0 });
         }
+
+        #region  用户管理相关接口
+
+
+        #endregion
     }
 }
diff --git a/langguanApi/Model/Dto/SystemConfiguration/UserDto.cs b/langguanApi/Model/Dto/SystemConfiguration/UserDto.cs
new file mode 100644
index 0000000..152ab6a
--- /dev/null
+++ b/langguanApi/Model/Dto/SystemConfiguration/UserDto.cs
@@ -0,0 +1,57 @@
+namespace langguanApi.Model.Dto.SystemConfiguration
+{
+    /// 
+    /// 用于用户管理的Dto
+    /// 
+    public class UserDto
+    {
+        /// 
+        /// 用户名
+        /// 
+        public string Username { get; set; }
+        /// 
+        ///  角色id
+        /// 
+        public int roleId { get; set; }
+        /// 
+        /// 邮箱
+        /// 
+        public string Email { get; set; }
+        /// 
+        /// 学历
+        /// 
+        public string Education { get; set; }
+        /// 
+        /// 手机号
+        /// 
+        public int Tel { get; set; }
+        /// 
+        /// 性别 0表示男   1表示女
+        /// 
+        public byte Sex { get; set; }
+        /// 
+        /// 毕业院校
+        /// 
+        public string University { get; set; }
+        /// 
+        /// 出生日期
+        /// 
+        public string Brithday { get; set; }
+        /// 
+        /// 籍贯
+        /// 
+        public string Native { get; set; }
+        /// 
+        /// 居住地
+        /// 
+        public string Address { get; set; }
+        /// 
+        /// 是否管理员  0否  1是
+        /// 
+        public byte IsAdmin { get; set; }
+        /// 
+        /// 是否删除  0否  1是   
+        /// 
+        public byte IsDel { get; set; }
+    }
+}
diff --git a/langguanApi/Model/Entity/UserEntity.cs b/langguanApi/Model/Entity/UserEntity.cs
index 350b96a..8225ad8 100644
--- a/langguanApi/Model/Entity/UserEntity.cs
+++ b/langguanApi/Model/Entity/UserEntity.cs
@@ -21,5 +21,37 @@
         /// 邮箱
         /// 
         public string Email { get; set; }
+        /// 
+        /// 学历
+        /// 
+        public string Education { get; set; }
+        /// 
+        /// 手机号
+        /// 
+        public int Tel { get; set; }
+        /// 
+        /// 性别 0表示男   1表示女
+        /// 
+        public byte Sex { get; set; }
+        /// 
+        /// 毕业院校
+        /// 
+        public string University { get; set; }
+        /// 
+        /// 出生日期
+        /// 
+        public string Brithday { get; set; }
+        /// 
+        /// 籍贯
+        /// 
+        public string Native { get; set; }
+        /// 
+        /// 居住地
+        /// 
+        public string Address { get; set; }
+        /// 
+        /// 是否管理员  0否  1是
+        /// 
+        public byte IsAdmin { get; set; }
     }
 }