Submission exercise-epita-ing-assistants-yaka-jws-2028-guillem.george-522732c
This commit is contained in:
parent
522732ceee
commit
20ab7bc8b2
6 changed files with 38 additions and 1 deletions
|
|
@ -8,5 +8,5 @@ import java.util.List;
|
|||
public class CourseModel {
|
||||
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) protected Long id;
|
||||
public String name;
|
||||
public @ElementCollection @CollectionTable(name = "course_model_tags") List<String> tag;
|
||||
public @ElementCollection @CollectionTable(name = "course_model_tags") @JoinColumn(name="course_id") List<String> tag;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue