public enum role{ USER,ADMIN }
@Entity public class User{ @Column @Enumberated(EnumType.STRING) privagte UserRoleEnum role; }
-> 헷갈리지 말자.
좋은 글 감사합니다. 자주 방문할게요 :)
좋은 글 감사합니다. 자주 방문할게요 :)