Entidades con sus propiedades sin funciones
This commit is contained in:
25
Entidades/Producto.cs
Normal file
25
Entidades/Producto.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Entidades
|
||||
{
|
||||
internal 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; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user