source: src/main/java/com/example/medweb/model/TelefonskiBroevi.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: 367 bytes
Line 
1package com.example.medweb.model;
2
3import lombok.Data;
4
5import javax.persistence.Entity;
6import javax.persistence.Id;
7import javax.persistence.IdClass;
8
9
10
11@Data
12@Entity
13@IdClass(TelefonskiBroeviId.class)
14public 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.