2024-09-24 00:34:53 +03:30
|
|
|
|
using Netina.Domain.Entities.Comments;
|
2024-09-01 12:28:42 +03:30
|
|
|
|
|
|
|
|
|
|
namespace Netina.Domain.Dtos.LargDtos;
|
2024-01-01 16:18:49 +03:30
|
|
|
|
|
2024-09-24 00:34:53 +03:30
|
|
|
|
public class CommentLDto : BaseDto<CommentLDto,Comment>
|
2024-01-01 16:18:49 +03:30
|
|
|
|
{
|
|
|
|
|
|
public string Title { get; set; } = string.Empty;
|
2024-09-25 17:08:35 +03:30
|
|
|
|
public string Content { get; set; } = string.Empty;
|
2024-01-01 16:18:49 +03:30
|
|
|
|
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; }
|
2024-01-01 16:18:49 +03:30
|
|
|
|
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();
|
2024-01-01 16:18:49 +03:30
|
|
|
|
}
|