更改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,11 +8,11 @@ namespace Yi.Framework.DtoModel.Base.Dto
{
public class LoginDto
{
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 Uuid { get; set; }
public string? Uuid { get; set; }
public string Code { get; set; }
public string? Code { get; set; }
}
}