Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cityout2oParadoteo;
- public class Restaurant {
- private int id_res;
- private String name_res;
- private String address;
- private int phone_res;
- private String photo_url;
- private String map_res;
- private int id_cat;
- private int id_area;
- /**
- * Constructor
- */
- public Restaurant(int id_res,String name_res,String address,int phone_res,String photo_url,String map_res,int id_cat,int id_area) {
- this.id_res = id_res;
- this.name_res = name_res;
- this.address = address;
- this.phone_res = phone_res;
- this.photo_url = photo_url;
- this.map_res = map_res;
- this.id_cat = id_cat;
- this.id_area = id_area;
- }
- /*Getters and Setters*/
- public int getId_res() {
- return id_res;
- }
- public void setId_res(int id_res) {
- this.id_res = id_res;
- }
- public String getName_res() {
- return name_res;
- }
- public void setName_res(String name_res) {
- this.name_res = name_res;
- }
- public String getAddress() {
- return address;
- }
- public void setAddress(String address) {
- this.address = address;
- }
- public int getPhone_res() {
- return phone_res;
- }
- public void setPhone_res(int phone_res) {
- this.phone_res = phone_res;
- }
- public String getPhoto_url() {
- return photo_url;
- }
- public void setPhoto_url(String photo_url) {
- this.photo_url = photo_url;
- }
- public String getMap_res() {
- return map_res;
- }
- public void setMap_res(String map_res) {
- this.map_res = map_res;
- }
- public int getId_cat() {
- return id_cat;
- }
- public void setId_cat(int id_cat) {
- this.id_cat = id_cat;
- }
- public int getId_area() {
- return id_area;
- }
- public void setId_area(int id_area) {
- this.id_area = id_area;
- }
- } //End of class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement