-
Notifications
You must be signed in to change notification settings - Fork 0
/
productos.cs
35 lines (31 loc) · 1.5 KB
/
productos.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//------------------------------------------------------------------------------
// <auto-generated>
// Este código se generó a partir de una plantilla.
//
// Los cambios manuales en este archivo pueden causar un comportamiento inesperado de la aplicación.
// Los cambios manuales en este archivo se sobrescribirán si se regenera el código.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ProyectoStarTech
{
using System;
using System.Collections.Generic;
public partial class productos
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public productos()
{
this.carrito = new HashSet<carrito>();
this.Compra = new HashSet<Compra>();
}
public string codigoProducto { get; set; }
public string nombreProducto { get; set; }
public Nullable<int> cantidadDisponible { get; set; }
public Nullable<long> precioProducto { get; set; }
public string imagenUrl { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<carrito> carrito { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Compra> Compra { get; set; }
}
}