using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApplication1.Models;

namespace WebApplication1.Repositories.ArticleCommerceRepository {
  public class ArticleCommerce {

		public Guid Id { get; }
    public Decimal PrixVente { get; }
    public int Quantite { get; set; }
    public string Nom { get; }
    public ArticleCommerce( Guid id, Decimal prixVente, int quantite, string nom ) {
      Id = id;
      PrixVente = prixVente;
      Quantite = quantite;
      Nom = nom;
    }
		public ArticleCommerce( Article a ) {
			Id = a.Id;
			PrixVente = a.PrixVente;
			Quantite = a.Quantite;
			Nom = a.Nom;
		}
	}
}