Add Code Here/JAVA/spring sec/model/Users/Users.java
<filename>Add Code Here/JAVA/spring sec/model/Users/Users.javapackage com.example.informatic_parc.model.Users;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.*;

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Entity
public class Users {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String username;
    private String password;
    @ManyToOne
    @JoinColumn(name = "fk_role_id")
    private Roles role;
}
