I have my class
and I have a property in it
public TipoPessoa TipoPessoa {get;set;}
The same is an enumerator that has value "Physical and Legal"
And I have a property that is CNPJ or CPF
public string Cpf_Cnpj {get;set;}
How do I make it condition at the time of validating at anotation?