Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package app.botikaty.com;
- class Contact {
- // private variables
- private int _id;
- private String _title;
- private String _image;
- private String _price;
- private String _buyer;
- private String _dilivary;
- private String _pid;
- private String _ptype;
- Contact() {
- }
- // constructor
- public Contact(int id, String title, String image, String price, String buyer, String dilivary, String pid, String ptype) {
- this._id = id;
- this._title = title;
- this._image = image;
- this._price = price;
- this._buyer = buyer;
- this._dilivary = dilivary;
- this._pid = pid;
- this._ptype = ptype;
- }
- // constructor
- Contact(String title, String image, String price, String buyer, String dilivary, String pid, String ptype) {
- this._title = title;
- this._image = image;
- this._price = price;
- this._buyer = buyer;
- this._dilivary = dilivary;
- this._pid = pid;
- this._ptype = ptype;
- }
- public int getID() {
- return this._id;
- }
- public void setID(int id) {
- this._id = id;
- }
- public String getTitle() {
- return this._title;
- }
- public void setTitle(String title) {
- this._title = title;
- }
- public String getImage() {
- return this._image;
- }
- public void setImage(String image) {
- this._image = image;
- }
- public String getPrice() {
- return this._price;
- }
- public void setPrice(String price) {
- this._price = price;
- }
- public String getBuyer() {
- return this._buyer;
- }
- public void setBuyer(String buyer) {
- this._buyer = buyer;
- }
- public String getDilivary() {
- return this._dilivary;
- }
- public void setDilivary(String dilivary) {
- this._dilivary = dilivary;
- }
- String getPid() {
- return this._pid;
- }
- void setPid(String pid) {
- this._pid = pid;
- }
- String getPtype() {
- return this._ptype;
- }
- void setPtype(String ptype) {
- this._ptype = ptype;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement