source: src/main/java/com/example/medweb/model/BolnicaTelefonskiBroevi.java@ e5fefbd

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 
1package com.example.medweb.model;
2
3
4import lombok.Data;
5
6import javax.persistence.Entity;
7import javax.persistence.Id;
8import javax.persistence.IdClass;
9
10
11@Data
12@Entity
13@IdClass(BolnicaBroeviId.class)
14public 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.