29 lines
732 B
C#
29 lines
732 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace compabetov2.database.modelos
|
|
{
|
|
public class Variante
|
|
{
|
|
public int idVariante;
|
|
public string nombre;
|
|
public decimal precio;
|
|
public int cantidad;
|
|
public string img;
|
|
public int fkProducto;
|
|
|
|
public Variante(int idVariante, string nombre, decimal precio, int cantidad, string img, int fkProducto)
|
|
{
|
|
this.idVariante = idVariante;
|
|
this.nombre = nombre;
|
|
this.precio = precio;
|
|
this.cantidad = cantidad;
|
|
this.img = img;
|
|
this.fkProducto = fkProducto;
|
|
}
|
|
}
|
|
}
|