source: src/main/java/com/example/cookbook/model/Korisnik.java

Last change on this file was d4d8fb9, checked in by Blazho <aleksandar.blazhevski@…>, 9 months ago

Posetitelot komentira i dava ocena za recept(https://develop.finki.ukim.mk/projects/cbdb/wiki/useCase11)

  • Property mode set to 100644
File size: 1.0 KB
Line 
1package com.example.cookbook.model;
2
3public class Korisnik {
4
5 private String telefon;
6
7 private String ime;
8
9 private String prezime;
10
11 private TipKorisnik tipKorisnik;
12
13 public Korisnik(String telefon, String ime, String prezime, TipKorisnik tipKorisnik) {
14 this.telefon = telefon;
15 this.ime = ime;
16 this.prezime = prezime;
17 this.tipKorisnik = tipKorisnik;
18 }
19
20 public Korisnik() {
21 }
22
23 public String getTelefon() {
24 return telefon;
25 }
26
27 public void setTelefon(String telefon) {
28 this.telefon = telefon;
29 }
30
31 public String getIme() {
32 return ime;
33 }
34
35 public void setIme(String ime) {
36 this.ime = ime;
37 }
38
39 public String getPrezime() {
40 return prezime;
41 }
42
43 public void setPrezime(String prezime) {
44 this.prezime = prezime;
45 }
46
47 public TipKorisnik getTipKorisnik() {
48 return tipKorisnik;
49 }
50
51 public void setTipKorisnik(TipKorisnik tipKorisnik) {
52 this.tipKorisnik = tipKorisnik;
53 }
54}
Note: See TracBrowser for help on using the repository browser.