完善DDD领域驱动设计

This commit is contained in:
橙子
2023-01-26 21:00:01 +08:00
parent 38d69c9e6f
commit dfefd0452d
16 changed files with 175 additions and 35 deletions

View File

@@ -11,10 +11,7 @@ namespace Yi.BBS.Application.Contracts.Forum.Dtos
/// </summary>
public class CommentCreateInputVo
{
public long Id { get; set; }
public DateTime? CreateTime { get; set; }
public string Content { get; set; }
public long DiscussId { get; set; }
public long UserId { get; set; }
}
}

View File

@@ -9,10 +9,5 @@ namespace Yi.BBS.Application.Contracts.Forum.Dtos
{
public class CommentGetListInputVo : PagedAndSortedResultRequestDto
{
public long Id { get; set; }
public DateTime? CreateTime { get; set; }
public string Content { get; set; }
public long DiscussId { get; set; }
public long UserId { get; set; }
}
}

View File

@@ -17,5 +17,7 @@ namespace Yi.BBS.Application.Contracts.Forum.Dtos.Discuss
public DateTime? CreateTime { get; set; }
public string Content { get; set; }
public string? Color { get; set; }
public long plateId { get; set; }
}
}