更改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

@@ -10,9 +10,9 @@ namespace Yi.Framework.DtoModel.Base.Vo
{
public long Id { get; set; }
public string Title { get; set; }
public string Title { get; set; } = string.Empty;
public string Content { get; set; }
public string Content { get; set; } = string.Empty;
public long? UserId { get; set; }
@@ -30,10 +30,10 @@ namespace Yi.Framework.DtoModel.Base.Vo
public int? OrderNum { get; set; }
public string Remark { get; set; }
public List<string> Images { get; set; }
public string? Remark { get; set; }
public List<string>? Images { get; set; }
public int? AgreeNum { get; set; }
public UserVo User { get; set; }
public UserVo? User { get; set; }
}
}