Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

JsonLdForumTopicModel.cs

using Newtonsoft.Json;

namespace Nop.Web.Models.JsonLD;

public partial record JsonLdForumTopicModel : JsonLdModel
{
    #region Ctor

    public JsonLdForumTopicModel()
    {
        Comments = new List();
        InteractionStatistic = new List();
    }

    #endregion

    #region Properties

    [JsonProperty("@context")]
    public string Context => "https://schema.org";

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

    [JsonProperty("text")]
    public string Text { get; set; }

    [JsonProperty("author")]
    public JsonLdPersonModel Author { get; set; }

    [JsonProperty("datePublished")]
    public string DatePublished { get; set; }

    [JsonProperty("headline")]
    public string Subject { get; set; }

    [JsonProperty("comment")]
    public IList Comments { get; set; }

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

    [JsonProperty("interactionStatistic")]
    public IList InteractionStatistic { get; set; }

    #endregion
}