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