Last change
on this file was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 13 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
420 bytes
|
Line | |
---|
1 | package com.example.baziproekt.model.komentar_na_proizvod;
|
---|
2 |
|
---|
3 |
|
---|
4 | import javax.persistence.*;
|
---|
5 | import lombok.Data;
|
---|
6 |
|
---|
7 | @Table(name = "komentar_na_proizvod")
|
---|
8 | @Data
|
---|
9 | @Entity
|
---|
10 | public class KomentarNaProizvod {
|
---|
11 | @EmbeddedId
|
---|
12 | private KomentarNaProizvodComposite composite;
|
---|
13 |
|
---|
14 | public KomentarNaProizvod(KomentarNaProizvodComposite composite) {
|
---|
15 | this.composite = composite;
|
---|
16 | }
|
---|
17 |
|
---|
18 | public KomentarNaProizvod() {
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.