source: src/main/java/com/example/cookbook/model/Recept.java@ 501396e

Last change on this file since 501396e was 501396e, checked in by Blazho <aleksandar.blazhevski@…>, 5 months ago

added missing files

  • Property mode set to 100644
File size: 998 bytes
Line 
1package com.example.cookbook.model;
2
3public class Recept {
4
5 private Long recId;
6
7 private String recIme;
8
9 private String postapka;
10
11 private Float srednaOcena;
12
13 public Float getSrednaOcena() {
14 return srednaOcena;
15 }
16
17 public void setSrednaOcena(Float srednaOcena) {
18 this.srednaOcena = srednaOcena;
19 }
20
21 public Recept(Long recId, String recIme, String postapka) {
22 this.recId = recId;
23 this.recIme = recIme;
24 this.postapka = postapka;
25 this.srednaOcena = 0.f;
26 }
27
28 public Recept() {
29 }
30
31 public Long getRecId() {
32 return recId;
33 }
34
35 public void setRecId(Long recId) {
36 this.recId = recId;
37 }
38
39 public String getRecIme() {
40 return recIme;
41 }
42
43 public void setRecIme(String recIme) {
44 this.recIme = recIme;
45 }
46
47 public String getPostapka() {
48 return postapka;
49 }
50
51 public void setPostapka(String postapka) {
52 this.postapka = postapka;
53 }
54}
Note: See TracBrowser for help on using the repository browser.