Skip to content

Instantly share code, notes, and snippets.

@ChouJustice
Created June 15, 2022 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChouJustice/8178c7131fa31b7c078fd500ff5f4a78 to your computer and use it in GitHub Desktop.
Save ChouJustice/8178c7131fa31b7c078fd500ff5f4a78 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
namespace WebCoreLab.Models.ViewModel.Product
{
public class ProductListViewModel
{
public ProductData MainProduct { get; set; }
public IEnumerable<ProductData> SideProductList { get; set; }
public class ProductData
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Image { get; set; }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment