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

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

/// <summary>
/// Represents a return request search model
/// </summary>
public partial record ReturnRequestSearchModel : BaseSearchModel
{
    #region Ctor

    public ReturnRequestSearchModel()
    {
        ReturnRequestStatusList = new List<SelectListItem>();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.ReturnRequests.SearchStartDate")]
    [UIHint("DateNullable")]
    public DateTime? StartDate { get; set; }

    [NopResourceDisplayName("Admin.ReturnRequests.SearchEndDate")]
    [UIHint("DateNullable")]
    public DateTime? EndDate { get; set; }

    [NopResourceDisplayName("Admin.ReturnRequests.SearchCustomNumber")]
    public string CustomNumber { get; set; }

    [NopResourceDisplayName("Admin.ReturnRequests.SearchReturnRequestStatus")]
    public int ReturnRequestStatusId { get; set; }

    public IList<SelectListItem> ReturnRequestStatusList { get; set; }

    #endregion
}