// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/base/bean/Abilities.java
// public class Abilities implements Serializable {
//     private boolean update;
// 
//     private boolean destroy;
// 
//     public void setUpdate(boolean update) {
//         this.update = update;
//     }
// 
//     public boolean getUpdate() {
//         return this.update;
//     }
// 
//     public void setDestroy(boolean destroy) {
//         this.destroy = destroy;
//     }
// 
//     public boolean getDestroy() {
//         return this.destroy;
//     }
// 
// }
// 
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/user/bean/User.java
// public class User implements Serializable{
//     private int id;             // 唯一 id
//     private String login;       // 登录用户名
//     private String name;        // 昵称
//     private String avatar_url;  // 头像链接
// 
//     public void setId(int id) {
//         this.id = id;
//     }
// 
//     public int getId() {
//         return this.id;
//     }
// 
//     public void setLogin(String login) {
//         this.login = login;
//     }
// 
//     public String getLogin() {
//         return this.login;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getName() {
//         return this.name;
//     }
// 
//     public void setAvatar_url(String avatar_url) {
//         this.avatar_url = avatar_url;
//     }
// 
//     public String getAvatar_url() {
//         return this.avatar_url;
//     }
// 
// }


import com.gcssloop.diycode_sdk.api.base.bean.Abilities;
import com.gcssloop.diycode_sdk.api.user.bean.User;
import java.io.Serializable;
/*
 * Copyright 2017 GcsSloop
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Last modified 2017-03-08 01:01:18
 *
 * GitHub:  https://github.com/GcsSloop
 * Website: http://www.gcssloop.com
 * Weibo:   http://weibo.com/GcsSloop
 */

package com.gcssloop.diycode_sdk.api.topic.bean;



/**
 * topic 简略信息
 */
public class Topic implements Serializable {
    private int id;                         // 唯一 id
    private String title;                   // 标题
    private String created_at;              // 创建时间
    private String updated_at;              // 更新时间
    private String replied_at;              // 最近一次回复时间
    private int replies_count;              // 回复总数量
    private String node_name;               // 节点名称
    private int node_id;                    // 节点 id
    private int last_reply_user_id;         // 最近一次回复的用户 id
    private String last_reply_user_login;   // 最近一次回复的用户登录名
    private User user;                      // 创建该话题的用户(信息)
    private boolean deleted;                // 是否是被删除的
    private boolean excellent;              // 是否是加精的
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/base/bean/Abilities.java
// public class Abilities implements Serializable {
//     private boolean update;
// 
//     private boolean destroy;
// 
//     public void setUpdate(boolean update) {
//         this.update = update;
//     }
// 
//     public boolean getUpdate() {
//         return this.update;
//     }
// 
//     public void setDestroy(boolean destroy) {
//         this.destroy = destroy;
//     }
// 
//     public boolean getDestroy() {
//         return this.destroy;
//     }
// 
// }
// 
// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/user/bean/User.java
// public class User implements Serializable{
//     private int id;             // 唯一 id
//     private String login;       // 登录用户名
//     private String name;        // 昵称
//     private String avatar_url;  // 头像链接
// 
//     public void setId(int id) {
//         this.id = id;
//     }
// 
//     public int getId() {
//         return this.id;
//     }
// 
//     public void setLogin(String login) {
//         this.login = login;
//     }
// 
//     public String getLogin() {
//         return this.login;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getName() {
//         return this.name;
//     }
// 
//     public void setAvatar_url(String avatar_url) {
//         this.avatar_url = avatar_url;
//     }
// 
//     public String getAvatar_url() {
//         return this.avatar_url;
//     }
// 
// }


// Path: sdk/src/main/java/com/gcssloop/diycode_sdk/api/topic/bean/Topic.java
import com.gcssloop.diycode_sdk.api.base.bean.Abilities;
import com.gcssloop.diycode_sdk.api.user.bean.User;
import java.io.Serializable;

/*
 * Copyright 2017 GcsSloop
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Last modified 2017-03-08 01:01:18
 *
 * GitHub:  https://github.com/GcsSloop
 * Website: http://www.gcssloop.com
 * Weibo:   http://weibo.com/GcsSloop
 */

package com.gcssloop.diycode_sdk.api.topic.bean;



/**
 * topic 简略信息
 */
public class Topic implements Serializable {
    private int id;                         // 唯一 id
    private String title;                   // 标题
    private String created_at;              // 创建时间
    private String updated_at;              // 更新时间
    private String replied_at;              // 最近一次回复时间
    private int replies_count;              // 回复总数量
    private String node_name;               // 节点名称
    private int node_id;                    // 节点 id
    private int last_reply_user_id;         // 最近一次回复的用户 id
    private String last_reply_user_login;   // 最近一次回复的用户登录名
    private User user;                      // 创建该话题的用户(信息)
    private boolean deleted;                // 是否是被删除的
    private boolean excellent;              // 是否是加精的
    private Abilities abilities;            // 当前用户对该话题拥有的权限