namespace Netina.Infrastructure.Models.Scrapers.Digikala;

public class GetDigikalProductResponseDto
{

    public int status { get; set; }
    public Data data { get; set; }

    public class Attribute
    {
        public string title { get; set; }
        public List<string> values { get; set; }
    }

    public class Data
    {
        public Product product { get; set; }
        public Seo seo { get; set; }
    }

    public class Seo
    {
        public string title { get; set; }
        public string description { get; set; }
        public Header header { get; set; }
    }
    public class Header
    {
        public string title { get; set; }
        public string description { get; set; }
        public string canonical_url { get; set; }
    }

    public class Images
    {
        public Main main { get; set; }
    }

    public class Main
    {
        public List<object> storage_ids { get; set; }
        public List<string> url { get; set; }
        public object thumbnail_url { get; set; }
        public object temporary_id { get; set; }
        public List<string> webp_url { get; set; }
    }

    public class Product
    {
        public int id { get; set; }
        public string title_fa { get; set; }
        public string title_en { get; set; }
        public string status { get; set; }
        public Images images { get; set; }
        public List<Specification> specifications { get; set; }
    }

    public class Specification
    {
        public string title { get; set; }
        public List<Attribute> attributes { get; set; }
    }


}