更改null操作
This commit is contained in:
@@ -8,9 +8,9 @@ namespace Yi.Framework.DtoModel.Base.Dto
|
||||
{
|
||||
public class RegisterDto
|
||||
{
|
||||
public string UserName { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string Password { get; set; } = string.Empty;
|
||||
|
||||
public string Name { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user