更改null操作

This commit is contained in:
橙子
2023-01-05 20:32:58 +08:00
parent efbf799218
commit b7c9b84449
25 changed files with 71 additions and 76 deletions

View File

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