Webiant Logo Webiant Logo
  1. No results found.

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

ContactUsModel.cs

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

namespace Nop.Web.Models.Common;

public partial record ContactUsModel : BaseNopModel
{
    [DataType(DataType.EmailAddress)]
    [NopResourceDisplayName("ContactUs.Email")]
    public string Email { get; set; }

    [NopResourceDisplayName("ContactUs.Subject")]
    public string Subject { get; set; }
    public bool SubjectEnabled { get; set; }

    [NopResourceDisplayName("ContactUs.Enquiry")]
    public string Enquiry { get; set; }

    [NopResourceDisplayName("ContactUs.FullName")]
    public string FullName { get; set; }

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

    public bool DisplayCaptcha { get; set; }
}