entité Spring Boot de type énumération

Solution in simple: 
1- create new class with the required name, then put all the enums
public enum ResourceType {
    FINANCIAL,RAW,FACTORY,LAB
}

2-Next, in the entity :
@Enumerated(EnumType.STRING)
@Column(name="resourceType")
private ResourceType type;