Last change
on this file since 31d67c0 was 31d67c0, checked in by zlatko2810 <zlatko.stojanovski@…>, 22 months ago |
proekt
|
-
Property mode
set to
100644
|
File size:
415 bytes
|
Rev | Line | |
---|
[31d67c0] | 1 | package com.proekt.model;
|
---|
| 2 | import com.proekt.model.Vraboten.Vraboten;
|
---|
| 3 | import lombok.Data;
|
---|
| 4 |
|
---|
| 5 | import javax.persistence.*;
|
---|
| 6 |
|
---|
| 7 | @Data
|
---|
| 8 | @Table
|
---|
| 9 | @Entity
|
---|
| 10 | public class Kancelar{
|
---|
| 11 | @Id
|
---|
| 12 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
| 13 | @Column(nullable = false, unique = true)
|
---|
| 14 | private int idKancelar;
|
---|
| 15 |
|
---|
| 16 | public Kancelar(int idKancelar) {
|
---|
| 17 | this.idKancelar = idKancelar;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public Kancelar() {
|
---|
| 21 | }
|
---|
| 22 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.