Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5.  
  6.  
  7. public class tbProdutoDTO
  8. {
  9. public tbProdutoDTO()
  10. {
  11. this.dsDescricao = "";
  12. this.dsFornecedor = "";
  13. }
  14.  
  15. public tbProdutoDTO(int idproduto, String dsdescricao, String dsfornecedor, float vlvalor, int qtestoque)
  16. {
  17. this.idProduto = idproduto;
  18. this.dsDescricao = dsdescricao;
  19. this.dsFornecedor = dsfornecedor;
  20. this.vlValor = vlvalor;
  21. this.qtEstoque = qtestoque;
  22. }
  23.  
  24. public int idProduto { get; set; }
  25. public String dsDescricao { get; set; }
  26. public String dsFornecedor { get; set; }
  27. public float vlValor { get; set; }
  28. public int qtEstoque { get; set; }
  29.  
  30. }
  31.  
  32. using System;
  33. using System.Collections.Generic;
  34. using System.Linq;
  35. using System.Web;
  36.  
  37.  
  38. public class ListatbProdutoDTO : List<tbProdutoDTO>
  39. {
  40. public ListatbProdutoDTO()
  41. {
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement