Webiant Logo Webiant Logo
  1. No results found.

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

ReturnRequestReasonModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

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

/// 
/// Represents a return request reason model
/// 
public partial record ReturnRequestReasonModel : BaseNopEntityModel, ILocalizedModel
{
    #region Ctor

    public ReturnRequestReasonModel()
    {
        Locales = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Settings.Order.ReturnRequestReasons.Name")]
    public string Name { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.Order.ReturnRequestReasons.DisplayOrder")]
    public int DisplayOrder { get; set; }

    public IList Locales { get; set; }

    #endregion
}

public partial record ReturnRequestReasonLocalizedModel : ILocalizedLocaleModel
{
    public int LanguageId { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.Order.ReturnRequestReasons.Name")]
    public string Name { get; set; }
}