public void Restaura(Estado estado) { this.Data = estado.Contrato.Data; this.Cliente = estado.Contrato.Cliente; this.Tipo = estado.Contrato.Tipo; }