Advertisement
Guest User

News

a guest
Jul 25th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.45 KB | None | 0 0
  1. package com.alexandergartemov.backendlessdatabase;
  2.  
  3. import java.sql.Date;
  4.  
  5. /**
  6.  * Created by Alexa on 25.07.2016.
  7.  */
  8. public class News {
  9.     private String _id;
  10.     private String title;
  11.     private String predescription;
  12.     private String description;
  13.     private String image;
  14.     private Date created;
  15.     private Date updated;
  16.  
  17.     public News() {
  18.     }
  19.  
  20.     public String get_id() {
  21.         return _id;
  22.     }
  23.  
  24.     public void set_id(String _id) {
  25.         this._id = _id;
  26.     }
  27.  
  28.     public String getTitle() {
  29.         return title;
  30.     }
  31.  
  32.     public void setTitle(String title) {
  33.         this.title = title;
  34.     }
  35.  
  36.     public String getPredescription() {
  37.         return predescription;
  38.     }
  39.  
  40.     public void setPredescription(String predescription) {
  41.         this.predescription = predescription;
  42.     }
  43.  
  44.     public String getDescription() {
  45.         return description;
  46.     }
  47.  
  48.     public void setDescription(String description) {
  49.         this.description = description;
  50.     }
  51.  
  52.     public String getImage() {
  53.         return image;
  54.     }
  55.  
  56.     public void setImage(String image) {
  57.         this.image = image;
  58.     }
  59.  
  60.     public Date getCreated() {
  61.         return created;
  62.     }
  63.  
  64.     public void setCreated(Date created) {
  65.         this.created = created;
  66.     }
  67.  
  68.     public Date getUpdated() {
  69.         return updated;
  70.     }
  71.  
  72.     public void setUpdated(Date updated) {
  73.         this.updated = updated;
  74.     }
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement