Webiant Logo Webiant Logo
  1. No results found.

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

PollAnswerModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Polls;

/// 
/// Represents a poll answer model
/// 
public partial record PollAnswerModel : BaseNopEntityModel
{
    #region Properties

    public int PollId { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Polls.Answers.Fields.Name")]
    public string Name { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Polls.Answers.Fields.NumberOfVotes")]
    public int NumberOfVotes { get; set; }

    [NopResourceDisplayName("Admin.ContentManagement.Polls.Answers.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    #endregion
}