Created
October 16, 2017 16:27
-
-
Save vinchauhan/3c4c3232fb3d235cdac29c74c6baa0f1 to your computer and use it in GitHub Desktop.
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 Developer { | |
@Id | |
@GeneratedValue | |
private Long id; | |
private String name; | |
private String skills; | |
@ManyToOne | |
private Project project; | |
private Developer(){ | |
} | |
public Developer(String name, String skills) { | |
this.name = name; | |
this.skills = skills; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment