I have the Customer class and the Enum PetsEstimation where a customer can have 1 or more pets. It would look like this:
@DatabaseTable(tableName = "cliente")
public class Cliente{
@DatabaseField(generateId = true)
private Long id;
@DatabaseField
private String nome;
@????
List<AnimaisEstimacao> animais;
Enum AnimalsWarning
public enum AnimaisEstimacao{
GATO(0);
CACHORRO(1);
PASSARO(2);
OUTROS(3);
//implementacao
}
What would be the ORMLite annotation for the Enum AnimalsStimation present in the Client class?