新增加注册功能
This commit is contained in:
33
ZR.Model/System/Dto/RegisterDto.cs
Normal file
33
ZR.Model/System/Dto/RegisterDto.cs
Normal 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; } = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user