source: src/main/java/com/example/medweb/model/Specijalnost.java@ e96d444

Last change on this file since e96d444 was e5fefbd, checked in by Anita Terziska <63020646+Nit4e@…>, 2 years ago

initial commit

  • Property mode set to 100644
File size: 403 bytes
Line 
1package com.example.medweb.model;
2
3
4import lombok.Data;
5
6import javax.persistence.Entity;
7import javax.persistence.GeneratedValue;
8import javax.persistence.GenerationType;
9import javax.persistence.Id;
10
11
12@Data
13@Entity
14public class Specijalnost {
15
16 @Id
17 @GeneratedValue(strategy = GenerationType.IDENTITY)
18 private Integer spec_id;
19 private String naziv;
20
21 public Specijalnost() {
22 }
23
24}
Note: See TracBrowser for help on using the repository browser.