26 lines
418 B
C#
26 lines
418 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Entidades
|
|
{
|
|
public class Producto
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Nombre { get; set; }
|
|
|
|
public double Precio { get; set; }
|
|
|
|
|
|
public bool Habilitado { get; set; }
|
|
|
|
|
|
private List<Categoria> Categorias { get; set; }
|
|
|
|
|
|
}
|
|
}
|