using Newtonsoft.Json;

namespace Nop.Web.Models.JsonLD;

public partial record JsonLdOfferModel : JsonLdModel
{
    #region Properties

    [JsonProperty("@type")]
    public static string Type => "Offer";

    [JsonProperty("url")]
    public string Url { get; set; }

    [JsonProperty("availability")]
    public string Availability { get; set; }

    [JsonProperty("price")]
    public string Price { get; set; }

    [JsonProperty("priceCurrency")]
    public string PriceCurrency { get; set; }

    [JsonProperty("priceValidUntil")]
    public string PriceValidUntil { get; set; }

    #endregion
}