新增加注册功能

This commit is contained in:
不做码农
2022-04-14 18:30:10 +08:00
parent c5e6cfd771
commit 429f12ef01
15 changed files with 469 additions and 87 deletions

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace ZR.Model.System.Dto
{
public class RegisterDto
{
/// <summary>
/// 用户名
/// </summary>
[Required(ErrorMessage = "用户名不能为空")]
public string Username { get; set; }
/// <summary>
/// 用户密码
/// </summary>
[Required(ErrorMessage = "密码不能为空")]
public string Password { get; set; }
[Required(ErrorMessage = "确认密码不能为空")]
public string ConfirmPassword { get; set; }
/**
* 验证码
*/
public string Code { get; set; }
/**
* 唯一标识
*/
public string Uuid { get; set; } = "";
}
}