ulvis.paste.net

Paste Search Dynamic
Recent pastes
Food java
  1. package com.example.garella.kftta.Model;
  2.  
  3. /**
  4.  * Created by Garella on 2/3/2018.
  5.  */
  6.  
  7. public class Food {
  8.     private string name,image,Description,Price,Discount,MenuId;
  9.  
  10.     public Food() {
  11.     }
  12.  
  13.     public Food(string name, string image, string description, string price, string discount, string menuId) {
  14.         name = name;
  15.         image = image;
  16.         Description = description;
  17.         Price = price;
  18.         Discount = discount;
  19.         MenuId = menuId;
  20.     }
  21.  
  22.     public string getName() {
  23.         return name;
  24.     }
  25.  
  26.     public void setName(string name) {
  27.         name = name;
  28.     }
  29.  
  30.     public string getImage() {
  31.         return image;
  32.     }
  33.  
  34.     public void setImage(string image) {
  35.         image = image;
  36.     }
  37.  
  38.     public string getDescription() {
  39.         return Description;
  40.     }
  41.  
  42.     public void setDescription(string description) {
  43.         Description = description;
  44.     }
  45.  
  46.     public string getPrice() {
  47.         return Price;
  48.     }
  49.  
  50.     public void setPrice(string price) {
  51.         Price = price;
  52.     }
  53.  
  54.     public string getDiscount() {
  55.         return Discount;
  56.     }
  57.  
  58.     public void setDiscount(string discount) {
  59.         Discount = discount;
  60.     }
  61.  
  62.     public string getMenuId() {
  63.         return MenuId;
  64.     }
  65.  
  66.     public void setMenuId(string menuId) {
  67.         MenuId = menuId;
  68.     }
  69. }
Parsed in 0.057 seconds