0
I have the Client class and the Animal Award, where a customer can have 1 or more pets. I would look like this:
@DatabaseTable(tableName = "cliente")
public class Cliente{
@DatabaseField(generateId = true)
private Long id;
@DatabaseField
private String nome;
@????
List<AnimaisEstimacao> animais;
Enum Animaisestimacao
public enum AnimaisEstimacao{
GATO(0);
CACHORRO(1);
PASSARO(2);
OUTROS(3);
//implementacao
}
What would be the Ormlite annotation for the Enum Animalsestimate present in the Client class?
But in this case, do I have to map Enum Animalsestimate? Is that possible? Valew
– raphaRezzi