Created
April 4, 2016 21:50
-
-
Save HDBandit/200f2f590e50173e47d00b6c552eab90 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Message { | |
@JsonView(MessageView.MessageSummary.class) | |
private String content; | |
@JsonView(MessageView.MessageSummary.class) | |
private String author; | |
@JsonView(MessageView.MessageEntire.class) | |
private int likes; | |
public String getContent() { | |
return content; | |
} | |
public void setContent(String content) { | |
this.content = content; | |
} | |
public String getAuthor() { | |
return author; | |
} | |
public void setAuthor(String author) { | |
this.author = author; | |
} | |
public int getLikes() { | |
return likes; | |
} | |
public void setLikes(int likes) { | |
this.likes = likes; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment