Software Development, Spring Boot, Jwt, Java, Web Development.
@NoArgsConstructor @Entity @Table(name = "roles") public class Role { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; @Enumerated(EnumType.STRING) @Column(length = 20) private ERole name; public Role(ERole name) { this.name = name; } } Create repositories (User, Role) //