File size: 665 Bytes
7d0afa7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System.Text.Json.Serialization;
using Newtonsoft.Json;

namespace Crawler.Models;

public class Comment
{
    public long Id { get; set; }
    
    public string Title { get; set; }
    
    public string Body { get; set; }
    
    [JsonPropertyName("created_at")]
    [JsonProperty("created_at")]
    public string CreatedAt { get; set; }
    
    public double Rate { get; set; }

    public Reaction Reactions { get; set; }
    
    [JsonProperty("user_name")]
    [JsonPropertyName("user_name")]
    public string UserName { get; set; }
    
    
    public List<string> Advantages { get; set; }
    
    public List<string> Disadvantages { get; set; }
}