cdiego

eProducto

Jul 13th, 2013
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.80 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace ENTIDADES
  7. {
  8.     public class eProducto
  9.     {
  10.         private int idProducto;
  11.  
  12.         public int IdProducto
  13.         {
  14.             get { return idProducto; }
  15.             set { idProducto = value; }
  16.         }
  17.         private string nombre;
  18.  
  19.         public string Nombre
  20.         {
  21.             get { return nombre; }
  22.             set { nombre = value; }
  23.         }
  24.         private decimal precio;
  25.  
  26.         public decimal Precio
  27.         {
  28.             get { return precio; }
  29.             set { precio = value; }
  30.         }
  31.         private int idCategoria;
  32.  
  33.         public int IdCategoria
  34.         {
  35.             get { return idCategoria; }
  36.             set { idCategoria = value; }
  37.         }
  38.     }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment