mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-13 13:09:29 +08:00
模板重新生成可空类型
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Yi.Framework.DtoModel.Base.Dto
|
||||
{
|
||||
public class UpdatePasswordDto
|
||||
{
|
||||
public string NewPassword { get; set; }
|
||||
public string OldPassword { get; set; }
|
||||
public string NewPassword { get; set; }=string.Empty;
|
||||
public string OldPassword { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user