Webiant Logo Webiant Logo
  1. No results found.

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

SmsModel.cs

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

namespace Nop.Plugin.Misc.Brevo.Models;

/// 
/// Represents SMS model
/// 
public record SmsModel : BaseNopEntityModel
{
    #region Ctor

    public SmsModel()
    {
        AvailableMessages = new List();
        AvailablePhoneTypes = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.ContentManagement.MessageTemplates.Fields.Name")]
    public int MessageId { get; set; }

    public IList AvailableMessages { get; set; }

    public string DefaultSelectedMessageId { get; set; }

    public string Name { get; set; }

    [NopResourceDisplayName("Plugins.Misc.Brevo.PhoneType")]
    public int PhoneTypeId { get; set; }

    public IList AvailablePhoneTypes { get; set; }

    public string DefaultSelectedPhoneTypeId { get; set; }

    public string PhoneType { get; set; }

    [NopResourceDisplayName("Plugins.Misc.Brevo.SMSText")]
    public string Text { get; set; }

    #endregion
}