Webiant Logo Webiant Logo
  1. No results found.

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

DeliveryDateModel.cs

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

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

/// 
/// Represents a delivery date model
/// 
public partial record DeliveryDateModel : BaseNopEntityModel, ILocalizedModel
{
    #region Ctor

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

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Shipping.DeliveryDates.Fields.Name")]
    public string Name { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Shipping.DeliveryDates.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    public IList Locales { get; set; }

    #endregion
}

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

    [NopResourceDisplayName("Admin.Configuration.Shipping.DeliveryDates.Fields.Name")]
    public string Name { get; set; }
}