Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.bson.types.ObjectId;
- import org.springframework.data.mongodb.core.mapping.Document;
- @Document
- public class Play {
- private String createTime;
- private Song song;
- private String time;
- private Source source;
- private ObjectId _id;
- private Location location;
- private String userId;
- private String actionType;
- public String getCreateTime() {
- return createTime;
- }
- public void setCreateTime(String createTime) {
- this.createTime = createTime;
- }
- public Song getSong() {
- return song;
- }
- public void setSong(Song song) {
- this.song = song;
- }
- public String getTime() {
- return time;
- }
- public void setTime(String time) {
- this.time = time;
- }
- public Source getSource() {
- return source;
- }
- public void setSource(Source source) {
- this.source = source;
- }
- public ObjectId get_id() {
- return _id;
- }
- public void set_id(ObjectId _id) {
- this._id = _id;
- }
- public Location getLocation() {
- return location;
- }
- public void setLocation(Location location) {
- this.location = location;
- }
- public String getUserId() {
- return userId;
- }
- public void setUserId(String userId) {
- this.userId = userId;
- }
- public String getActionType() {
- return actionType;
- }
- public void setActionType(String actionType) {
- this.actionType = actionType;
- }
- @Override
- public String toString() {
- return "ClassPojo [createTime = " + createTime + ", song = " + song
- + ", time = " + time + ", source = " + source + ", _id = "
- + _id + ", location = " + location + ", userId = " + userId
- + ", actionType = " + actionType + "]";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement