18 lines
		
	
	
		
			561 B
		
	
	
	
		
			C#
		
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			561 B
		
	
	
	
		
			C#
		
	
	
| using Netina.Domain.Entities.Comments;
 | |
| 
 | |
| namespace Netina.Domain.Dtos.SmallDtos;
 | |
| 
 | |
| public class CommentSDto : BaseDto<CommentSDto, Comment>
 | |
| {
 | |
|     public string Title { get; set; } = string.Empty;
 | |
|     public string Content { get; set; } = string.Empty;
 | |
|     public bool IsAdmin { get; internal set; }
 | |
|     public bool IsConfirmed { get; set; }
 | |
|     public Guid ParentId { get; set; }
 | |
|     public Guid UserId { get; set; }
 | |
| 
 | |
|     public string UserFullName { get; set; } = string.Empty;
 | |
| 
 | |
|     [AdaptIgnore]
 | |
|     public List<CommentSDto> Children { get; set; } = new();
 | |
| } |