using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace AutoCatCore.Model { public class VehicleAd { [Key] [JsonProperty("id")] public int Id { get; set; } [JsonProperty("url")] public string Url { get; set; } [JsonProperty("price")] public string Price { get; set; } [JsonProperty("date")] public double Date { get; set; } [JsonProperty("mileage")] public string Mileage { get; set; } [JsonProperty("region")] public string Region { get; set; } [JsonProperty("city")] public string City { get; set; } [JsonProperty("adDescription")] public string AdDescription { get; set; } [JsonProperty("photos")] public List Photos { get; set; } } }