Last active
May 29, 2020 12:49
-
-
Save TheoOliveira/f50b60786835a6bfd42f87d1b0e27721 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public with sharing class ItemCompra2 { | |
| public Id itemCompraId{get; set;} | |
| private Integer quantidadeItem{get; set;} | |
| private Double valorTotal{get; set;} | |
| public ProdutoFloricultura2 produto = new ProdutoFloricultura2(); | |
| public ItemCompra2(Integer quantidade, ProdutoFloricultura2 prod){ | |
| produto = prod; | |
| quantidadeItem = quantidade; | |
| } | |
| public ProdutoFloricultura2 getProduto(){ | |
| return this.produto; | |
| } | |
| public void setProduto(ProdutoFloricultura2 produto){ | |
| this.produto = produto; | |
| } | |
| public Integer getQuantidade(){ | |
| return this.quantidadeItem; | |
| } | |
| public void setQuantidade(Integer quantidade){ | |
| this.quantidadeItem = quantidade; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment