Webiant Logo Webiant Logo
  1. No results found.

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

DiscountRequirementRuleModel.cs

using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;

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

/// 
/// Represents a discount requirement rule model
/// 
public partial record DiscountRequirementRuleModel : BaseNopModel
{
    #region Ctor

    public DiscountRequirementRuleModel()
    {
        ChildRequirements = new List();
    }

    #endregion

    #region Properties

    public int DiscountRequirementId { get; set; }

    public string RuleName { get; set; }

    public string ConfigurationUrl { get; set; }

    public string InteractionType { get; set; }

    public int? ParentId { get; set; }

    public SelectList AvailableInteractionTypes { get; set; }

    public bool IsGroup { get; set; }

    public bool IsLastInGroup { get; set; }

    public IList ChildRequirements { get; set; }

    #endregion
}