Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.obelo.app.clases;
- import java.io.Serializable;
- public class Product implements Serializable {
- private int id;
- private int price;
- private int fk_category;
- private String name;
- private String description;
- public Product() {
- }
- public Product(int id, String name, int price, String description, String imgURL, int fk_category) {
- this.id = id;
- this.price = price;
- this.fk_category = fk_category;
- this.name = name;
- this.description = description;
- this.imgURL = imgURL;
- }
- public String getImgURL() {
- return imgURL;
- }
- public void setImgURL(String imgURL) {
- this.imgURL = imgURL;
- }
- private String imgURL;
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
- public int getPrice() {
- return price;
- }
- public void setPrice(int price) {
- this.price = price;
- }
- public int getFk_category() {
- return fk_category;
- }
- public void setFk_category(int fk_category) {
- this.fk_category = fk_category;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement