Submission exercises-database-c762926
This commit is contained in:
parent
c7629264b4
commit
43bdb74698
1 changed files with 1 additions and 1 deletions
|
|
@ -8,5 +8,5 @@ import java.util.List;
|
||||||
public class CourseModel {
|
public class CourseModel {
|
||||||
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) protected Long id;
|
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) protected Long id;
|
||||||
public String name;
|
public String name;
|
||||||
public @ElementCollection @CollectionTable(name = "course_model_tags") @JoinColumn(name="course_id") List<String> tag;
|
public @ElementCollection @CollectionTable(name = "course_model_tags", joinColumns = @JoinColumn(name = "course_id")) List<String> tag;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue