Last active
November 16, 2016 19:31
-
-
Save edermfl/3af1c58b77212b8c5a2cdd6ac5ab7fa9 to your computer and use it in GitHub Desktop.
This file contains 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 class Nf { | |
Integer numero; | |
List<Item> itens; | |
Cliente cliente; | |
public Nf(Integer numero){ | |
this.numero = numero; | |
itens = new ArrayList<Item>(); | |
} | |
void adicionarItem(Item item) { | |
itens.add(item); | |
} | |
void setCliente(Cliente cliente) { | |
this.cliente = cliente; | |
} | |
void gerarNf() { | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment