Webiant Logo Webiant Logo
  1. No results found.

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

ProductEmailAFriendModel.cs

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

namespace Nop.Web.Models.Catalog;

public partial record ProductEmailAFriendModel : BaseNopModel
{
    public int ProductId { get; set; }

    public string ProductName { get; set; }

    public string ProductSeName { get; set; }

    [DataType(DataType.EmailAddress)]
    [NopResourceDisplayName("Products.EmailAFriend.FriendEmail")]
    public string FriendEmail { get; set; }

    [DataType(DataType.EmailAddress)]
    [NopResourceDisplayName("Products.EmailAFriend.YourEmailAddress")]
    public string YourEmailAddress { get; set; }

    [NopResourceDisplayName("Products.EmailAFriend.PersonalMessage")]
    public string PersonalMessage { get; set; }

    public bool SuccessfullySent { get; set; }
    public string Result { get; set; }

    public bool DisplayCaptcha { get; set; }
}