58 lines
830 B
Java
58 lines
830 B
Java
package com.example.nanchen.aiyaschoolpush.model;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author nanchen
|
|
* @fileName AiYaSchoolPush
|
|
* @packageName com.example.nanchen.aiyaschoolpush.model
|
|
* @date 2016/10/24 14:48
|
|
*/
|
|
|
|
public class Topic implements IJsonModel,Serializable {
|
|
|
|
/**
|
|
* 话题id
|
|
*/
|
|
public long id;
|
|
|
|
/**
|
|
* 话题内容
|
|
*/
|
|
public String content;
|
|
|
|
/**
|
|
* 话题作者
|
|
*/
|
|
public User author;
|
|
|
|
/**
|
|
* 话题发起时间戳
|
|
*/
|
|
public long createTs;
|
|
|
|
/**
|
|
* 图片Url
|
|
*/
|
|
public List<String> imgUrls;
|
|
|
|
|
|
/**
|
|
* 我是否赞了该话题
|
|
*/
|
|
public boolean isIPraised;
|
|
|
|
/**
|
|
* 总赞数
|
|
*/
|
|
public int praiseCount;
|
|
|
|
/**
|
|
* 总评论数
|
|
*/
|
|
public int commentCount;
|
|
}
|
|
|
|
|