/*
* Copyright (C) 2015 Drakeet <drakeet.me@gmail.com>
*
* This file is part of Meizhi
*
* Meizhi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Meizhi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Meizhi. If not, see <http://www.gnu.org/licenses/>.
*/
package com.werb.gankwithzhihu.bean.gank;
import java.io.Serializable;
import java.util.Date;
/**
* Created by Werb on 2016/8/19.
* Werb is Wanbo.
* Contact Me : werbhelius@gmail.com
*/
public class Gank implements Serializable{
private String url;
private String type;
public String desc;
private String who;
private boolean used;
private Date createdAt;
private Date updatedAt;
private Date publishedAt;
public String getUrl() {
return url;
}
public String getType() {
return type;
}
public String getDesc() {
return desc;
}
public String getWho() {
return who;
}
public boolean isUsed() {
return used;
}
public Date getCreatedAt() {
return createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setPublishedAt(Date publishedAt) {
this.publishedAt = publishedAt;
}
public Date getPublishedAt() {
return publishedAt;
}
@Override
public String toString() {
return "Gank{" +
"url='" + url + '\'' +
", type='" + type + '\'' +
", desc='" + desc + '\'' +
", who='" + who + '\'' +
", used=" + used +
", createdAt=" + createdAt +
", updatedAt=" + updatedAt +
", publishedAt=" + publishedAt +
'}';
}
}