Last change
on this file since fc7ec52 was fc7ec52, checked in by darkopopovski <darkopopovski39@…>, 22 months ago |
all files
|
-
Property mode
set to
100644
|
File size:
641 bytes
|
Rev | Line | |
---|
[fc7ec52] | 1 | package com.example.demo.model.IS_;
|
---|
| 2 |
|
---|
| 3 | import lombok.Data;
|
---|
| 4 |
|
---|
| 5 | import javax.persistence.EmbeddedId;
|
---|
| 6 | import javax.persistence.Entity;
|
---|
| 7 | import javax.persistence.Table;
|
---|
| 8 |
|
---|
| 9 | @Entity
|
---|
| 10 | @Data
|
---|
| 11 | @Table(name="is_")
|
---|
| 12 | public class MovieGenreCombination {
|
---|
| 13 |
|
---|
| 14 | @EmbeddedId
|
---|
| 15 | MovieGenreKey movieGenreKey;
|
---|
| 16 |
|
---|
| 17 | public MovieGenreCombination(MovieGenreKey movieGenreKey) {
|
---|
| 18 | this.movieGenreKey = movieGenreKey;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public MovieGenreCombination() {
|
---|
| 22 |
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | public MovieGenreKey getMovieGenreKey() {
|
---|
| 26 | return movieGenreKey;
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | public void setMovieGenreKey(MovieGenreKey movieGenreKey) {
|
---|
| 30 | this.movieGenreKey = movieGenreKey;
|
---|
| 31 | }
|
---|
| 32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.