-
Notifications
You must be signed in to change notification settings - Fork 0
/
RecipeItem.java
42 lines (37 loc) · 1.37 KB
/
RecipeItem.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.foodapp.food.recipe.model;
public class RecipeItem
{
private int id;
private String category;
private String recipeName;
private String author;
private String uploadDate;
private String howTo;
private String description;
private byte[] thumbnail;
private byte[] mainImg;
private int likeCount;
public int get_id(){ return id; }
public String get_category(){return category;}
public String get_recipeName(){return recipeName;}
public String get_author(){return author;}
public String get_uploadDate(){return uploadDate;}
public String get_howTo(){return howTo;}
public String get_Description(){return description;}
public byte[] get_thumbnail(){return thumbnail;}
public byte[] get_mainImg(){return mainImg;}
public int get_likeCount(){return likeCount;}
public RecipeItem(int id, String category, String recipeName, String author, String uploadDate,
String howTo, String description, byte[] thumbnail, byte[] mainImg, int likeCount) {
this.id = id;
this.category = category;
this.recipeName = recipeName;
this.author = author;
this.uploadDate = uploadDate;
this.howTo = howTo;
this.description = description;
this.thumbnail = thumbnail;
this.mainImg = mainImg;
this.likeCount = likeCount;
}
}