feat 用户创建

This commit is contained in:
2024-03-21 21:02:52 +08:00
parent d25909a235
commit ed5196d1a1
4 changed files with 62 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
namespace Dlhis.Sys.Identity.Request;
public class UserCreateRequest
{
/// <summary>
/// 用户名
/// </summary>
[Required]
public string Username { get; set; }
/// <summary>
/// 密码
/// </summary>
[MinLength(6)]
[Required]
public string Password { get; set; }
/// <summary>
/// 厂区
/// </summary>
[Required]
public string Tenant { get; set; }
}