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