@@ -0,0 +1,617 @@
+package bg.car_wash.entities;%0A%0Aimport org.springframework.security.core.GrantedAuthority;%0A%0Aimport javax.persistence.*;%0A%0A@Entity%0A@Table(name = %22roles%22)%0Apublic class Role implements GrantedAuthority %7B%0A%0A    @Id%0A    @GeneratedValue(strategy = GenerationType.IDENTITY)%0A    private long id;%0A%0A    @Basic%0A    private String authority;%0A%0A    @Override%0A    public String getAuthority() %7B%0A        return authority;%0A    %7D%0A%0A    public long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(long id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public void setAuthority(String authority) %7B%0A        this.authority = authority;%0A    %7D%0A%7D%0A

create Role entity