Last change
on this file since e5fefbd was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
367 bytes
|
Line | |
---|
1 | package com.example.medweb.model;
|
---|
2 |
|
---|
3 | import lombok.Data;
|
---|
4 |
|
---|
5 | import javax.persistence.Entity;
|
---|
6 | import javax.persistence.Id;
|
---|
7 | import javax.persistence.IdClass;
|
---|
8 |
|
---|
9 |
|
---|
10 |
|
---|
11 | @Data
|
---|
12 | @Entity
|
---|
13 | @IdClass(TelefonskiBroeviId.class)
|
---|
14 | public class TelefonskiBroevi {
|
---|
15 |
|
---|
16 | @Id
|
---|
17 | private Integer covek_broj_id;
|
---|
18 |
|
---|
19 | @Id
|
---|
20 | private String telefonski_broj;
|
---|
21 |
|
---|
22 | public TelefonskiBroevi() {
|
---|
23 | }
|
---|
24 |
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.