Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

892 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System.ComponentModel.DataAnnotations;

namespace Grand.Web.AdminShared.Models.Messages;

public class ContactFormListModel : BaseModel
{
    [GrandResourceDisplayName("Admin.System.ContactForm.List.StartDate")]
    [UIHint("DateNullable")]
    public DateTime? SearchStartDate { get; set; }

    [GrandResourceDisplayName("Admin.System.ContactForm.List.EndDate")]
    [UIHint("DateNullable")]
    public DateTime? SearchEndDate { get; set; }

    [GrandResourceDisplayName("Admin.System.ContactForm.List.Email")]

    public string SearchEmail { get; set; }

    [GrandResourceDisplayName("Admin.System.ContactForm.List.Store")]
    public string StoreId { get; set; }

    public IList<SelectListItem> AvailableStores { get; set; } = new List<SelectListItem>();
}