Api/Netina.Domain/Dtos/LargDtos/CommentLDto.cs

19 lines
586 B
C#
Raw Permalink Normal View History

2024-09-24 00:34:53 +03:30
using Netina.Domain.Entities.Comments;
namespace Netina.Domain.Dtos.LargDtos;
2024-09-24 00:34:53 +03:30
public class CommentLDto : BaseDto<CommentLDto,Comment>
{
public string Title { get; set; } = string.Empty;
2024-09-25 17:08:35 +03:30
public string Content { get; set; } = string.Empty;
public float Rate { get; set; }
public bool IsBuyer { get; set; }
public bool IsConfirmed { get; set; }
2024-09-24 00:34:53 +03:30
public Guid ParentId { get; set; }
public Guid UserId { get; set; }
2024-09-24 00:34:53 +03:30
public string UserFullName { get; set; } = string.Empty;
[AdaptIgnore]
public List<CommentSDto> Children { get; set; } = new();
}