Last change
on this file since 0e4d807 was 0e4d807, checked in by Ivona <ivonatapshanovska@…>, 10 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
586 bytes
|
Line | |
---|
1 | package com.example.baziproekt.model.Parce_del_od_naracki;
|
---|
2 |
|
---|
3 | import javax.persistence.*;
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | @Table(name = "parce_e_del_od_naracki")
|
---|
7 | @Data
|
---|
8 | @Entity
|
---|
9 | public class Del_od {
|
---|
10 |
|
---|
11 | @EmbeddedId
|
---|
12 | private Del_od_CompositeKey compositeKey;
|
---|
13 |
|
---|
14 | public Del_od(Del_od_CompositeKey compositeKey) {
|
---|
15 | this.compositeKey = compositeKey;
|
---|
16 | }
|
---|
17 |
|
---|
18 | public Del_od() {
|
---|
19 | }
|
---|
20 |
|
---|
21 | public Del_od_CompositeKey getCompositeKey() {
|
---|
22 | return compositeKey;
|
---|
23 | }
|
---|
24 |
|
---|
25 | public void setCompositeKey(Del_od_CompositeKey compositeKey) {
|
---|
26 | this.compositeKey = compositeKey;
|
---|
27 | }
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.