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; }
}
}