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:
382 bytes
|
Line | |
---|
1 | package com.example.medweb.model;
|
---|
2 |
|
---|
3 |
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | import javax.persistence.Entity;
|
---|
7 | import javax.persistence.Id;
|
---|
8 | import javax.persistence.IdClass;
|
---|
9 |
|
---|
10 |
|
---|
11 | @Data
|
---|
12 | @Entity
|
---|
13 | @IdClass(BolnicaBroeviId.class)
|
---|
14 | public class BolnicaTelefonskiBroevi {
|
---|
15 |
|
---|
16 |
|
---|
17 | @Id
|
---|
18 | private Integer bolnica_id;
|
---|
19 |
|
---|
20 | @Id
|
---|
21 | private String telefonski_br_bolnica ;
|
---|
22 |
|
---|
23 | public BolnicaTelefonskiBroevi() {
|
---|
24 | }
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.