Last change
on this file was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago |
Adding project to repo
|
-
Property mode
set to
100644
|
File size:
549 bytes
|
Rev | Line | |
---|
[b3f2adb] | 1 | package com.example.eatys_app.model;
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | import jakarta.persistence.*;
|
---|
| 5 |
|
---|
| 6 | import java.util.Date;
|
---|
| 7 |
|
---|
| 8 | @Entity
|
---|
| 9 | @Table(name="menadzer", schema = "project")
|
---|
| 10 | public class Menadzer extends Korisnik {
|
---|
| 11 |
|
---|
| 12 | @Column(name="menadzer_vraboten_od")
|
---|
| 13 | private Date vraboten_od;
|
---|
| 14 |
|
---|
| 15 | public Menadzer(Date vraboten_od) {
|
---|
| 16 | this.vraboten_od = vraboten_od;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | public Menadzer() {
|
---|
| 20 |
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | public Date getVraboten_od() {
|
---|
| 24 | return vraboten_od;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | public void setVraboten_od(Date vraboten_od) {
|
---|
| 28 | this.vraboten_od = vraboten_od;
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.