package entidades;

import anotacoes.Coluna;
import anotacoes.Entidade;
import anotacoes.Id;

@Entidade(nome="Tabela_Cliente")
public class Cliente {

	private Integer id;
	private String nome;
	private String rua;

	// CTRL 3 GCUF
	public Cliente(Integer id, String nome, String rua) {
		this.id = id;
		this.nome = nome;
		this.rua = rua;
	}

	// CTRL 3 GGAS
	@Id(nome="pk", autoincremento=false)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Coluna(nome="nome_cliente")
	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getRua() {
		return rua;
	}

	public void setRua(String rua) {
		this.rua = rua;
	}
}
