Created
February 7, 2023 17:39
-
-
Save SuvidhaMalaviya/84542a54e238a491c853a145c542e95d to your computer and use it in GitHub Desktop.
Java Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
public class Employee { | |
@Id | |
@GeneratedValue(strategy = GenerationType.IDENTITY) | |
private Long id; | |
private String name; | |
private String role; | |
// constructor, getters, and setters | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment