Webiant Logo Webiant Logo
  1. No results found.

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

NewsLetterSubscriptionModel.cs

using System.ComponentModel.DataAnnotations;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

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

/// 
/// Represents a newsletter subscription model
/// 
public partial record NewsletterSubscriptionModel : BaseNopEntityModel
{
    #region Properties

    [DataType(DataType.EmailAddress)]
    [NopResourceDisplayName("Admin.Promotions.NewsLetterSubscriptions.Fields.Email")]
    public string Email { get; set; }

    [NopResourceDisplayName("Admin.Promotions.NewsLetterSubscriptions.Fields.Active")]
    public bool Active { get; set; }

    [NopResourceDisplayName("Admin.Promotions.NewsLetterSubscriptions.Fields.Store")]
    public string StoreName { get; set; }

    [NopResourceDisplayName("Admin.Promotions.NewsLetterSubscriptions.Fields.Language")]
    public string LanguageName { get; set; }

    [NopResourceDisplayName("Admin.Promotions.NewsLetterSubscriptions.Fields.CreatedOn")]
    public string CreatedOn { get; set; }

    #endregion
}