Webiant Logo Webiant Logo
  1. No results found.

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

ProductPictureModel.cs

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

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

/// 
/// Represents a product picture model
/// 
public partial record ProductPictureModel : BaseNopEntityModel
{
    #region Properties

    public int ProductId { get; set; }

    [UIHint("MultiPicture")]
    [NopResourceDisplayName("Admin.Catalog.Products.Multimedia.Pictures.Fields.Picture")]
    public int PictureId { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.Multimedia.Pictures.Fields.Picture")]
    public string PictureUrl { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.Multimedia.Pictures.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.Multimedia.Pictures.Fields.OverrideAltAttribute")]
    public string OverrideAltAttribute { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.Multimedia.Pictures.Fields.OverrideTitleAttribute")]
    public string OverrideTitleAttribute { get; set; }

    #endregion
}