mirror of https://github.com/abpframework/abp.git
13 changed files with 43 additions and 10 deletions
@ -1,15 +1,18 @@ |
|||||
using System; |
using System; |
||||
using Volo.Abp.Application.Dtos; |
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.Domain.Entities; |
||||
using Volo.Blogging.Posts; |
using Volo.Blogging.Posts; |
||||
|
|
||||
namespace Volo.Blogging.Comments.Dtos |
namespace Volo.Blogging.Comments.Dtos |
||||
{ |
{ |
||||
public class CommentWithDetailsDto : FullAuditedEntityDto<Guid> |
public class CommentWithDetailsDto : FullAuditedEntityDto<Guid>, IHasConcurrencyStamp |
||||
{ |
{ |
||||
public Guid? RepliedCommentId { get; set; } |
public Guid? RepliedCommentId { get; set; } |
||||
|
|
||||
public string Text { get; set; } |
public string Text { get; set; } |
||||
|
|
||||
public BlogUserDto Writer { get; set; } |
public BlogUserDto Writer { get; set; } |
||||
|
|
||||
|
public string ConcurrencyStamp { get; set; } |
||||
} |
} |
||||
} |
} |
||||
|
|||||
@ -1,10 +1,12 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
|
using Volo.Abp.Domain.Entities; |
||||
|
|
||||
namespace Volo.Blogging.Comments.Dtos |
namespace Volo.Blogging.Comments.Dtos |
||||
{ |
{ |
||||
public class UpdateCommentDto |
public class UpdateCommentDto : IHasConcurrencyStamp |
||||
{ |
{ |
||||
[Required] |
[Required] |
||||
public string Text { get; set; } |
public string Text { get; set; } |
||||
|
public string ConcurrencyStamp { get; set; } |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue