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.

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

namespace Grand.Web.AdminShared.Models.Orders;

public class PaymentTransactionListModel : BaseModel
{
    [GrandResourceDisplayName("Admin.Orders.PaymentTransaction.List.SearchCustomerEmail")]
    public string SearchCustomerEmail { get; set; }

    [GrandResourceDisplayName("Admin.Orders.PaymentTransaction.List.SearchTransactionStatus")]
    public int SearchTransactionStatus { get; set; } = -1;

    [GrandResourceDisplayName("Admin.Orders.PaymentTransaction.List.OrderNumber")]
    public string OrderNumber { get; set; }

    [GrandResourceDisplayName("Admin.Orders.PaymentTransaction.List.StartDate")]
    [UIHint("DateNullable")]
    public DateTime? StartDate { get; set; }

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

    public string StoreId { get; set; }

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