提交 da509d65 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 2b1ad2c1
/**
* @author niguanghui
* @date 2018年12月5日 下午6:20:09
*/
package com.zrqx.sysuser.commons.vo.bg.commment;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 公告内容评论页
* @author ycw
* @date 2019年3月20日下午4:41:11
*/
@Data
public class BulletinContentCommentListVo {
@ApiModelProperty(value = "评论id")
private Integer id;
@ApiModelProperty(value = "用户名")
private String userName;
@ApiModelProperty(value = "评论内容")
private String content;
@ApiModelProperty(value = "评论时间")
private Date releaseTime;
@ApiModelProperty(value = "状态:0未审核,1已通过,2未通过")
private Integer status;
@ApiModelProperty(value = "父级评论用户名")
private String fatherName;
@ApiModelProperty(value = "回复")
private List<ReplyVo> replyVo;
}
/**
* @author niguanghui
* @date 2018年12月7日 上午11:03:38
*/
package com.zrqx.sysuser.commons.vo.bg.commment;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
* 评论详情页Vo
*
* @author niguanghui
* @date 2018年12月7日上午11:03:38
*/
@Data
public class CommentDetailsVo {
@ApiModelProperty(value = "评论id")
private Integer id;
@ApiModelProperty(value = "用户头像")
private String userImg;
@ApiModelProperty(value = "用户名")
private String userName;
@ApiModelProperty(value = "评分")
private Integer score;
@ApiModelProperty(value = "评论内容")
private String content;
@ApiModelProperty(value = "资源id")
private String resourceId;
@ApiModelProperty(value = "资源名称")
private String resourceName;
@ApiModelProperty(value = "资源类型")
private Integer resourceType;
@ApiModelProperty(value = "资源类型")
private String resourceType_zh;
@ApiModelProperty(value = "评论时间")
private Date releaseTime;
@ApiModelProperty(value = "状态:0未审核,1已通过,2未通过")
private Integer status;
@ApiModelProperty(value = "精彩书评:0 不是,1 是")
private Integer essence;
@ApiModelProperty(value = "真实姓名")
private String name;
@ApiModelProperty(value = "点赞数量")
private Integer fabulousNum;
@ApiModelProperty(value = "父级评论用户名")
private String fatherName;
@ApiModelProperty(value = "回复数量")
private Integer replyNum;
@ApiModelProperty(value = "未审核数量")
private Integer unauditedNum;
@ApiModelProperty(value = "此评论回复集合")
private List<ReplyVo> replyVoList;
}
/**
* @author niguanghui
* @date 2018年12月5日 下午6:20:09
*/
package com.zrqx.sysuser.commons.vo.bg.commment;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
/**
* 资源评论页ov
*
* @author niguanghui
* @date 2018年12月5日下午6:20:09
*/
@Data
public class CommentListVo {
@ApiModelProperty(value = "评论id")
private Integer id;
@ApiModelProperty(value = "用户名")
private String userName;
@ApiModelProperty(value = "评分")
private Integer score;
@ApiModelProperty(value = "评论内容")
private String content;
@ApiModelProperty(value = "资源id")
private String resourceId;
@ApiModelProperty(value = "资源名称")
private String resourceName;
@ApiModelProperty(value = "资源类型")
private Integer resourceType;
@ApiModelProperty(value = "评论时间")
private Date releaseTime;
@ApiModelProperty(value = "状态:0未审核,1已通过,2未通过")
private Integer status;
@ApiModelProperty(value = "待审核信息")
private Integer notReview;
@ApiModelProperty(value = "精彩书评:0 不是,1 是")
private Integer essence;
@ApiModelProperty(value = "资源类型名称")
private String resourceType_zh;
}
/**
* @author niguanghui
* @date 2018年12月10日 上午10:24:23
*/
package com.zrqx.sysuser.commons.vo.bg.commment;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
/**
* 评论详情页-回复Vo
*
* @author niguanghui
* @date 2018年12月10日上午10:24:23
*/
@Data
public class ReplyVo {
@ApiModelProperty(value = "评论id")
private Integer id;
@ApiModelProperty(value = "用户名")
private String userName;
@ApiModelProperty(value = "评论内容")
private String content;
@ApiModelProperty(value = "状态:0未审核,1已通过,2未通过")
private Integer status;
@ApiModelProperty(value = "父级评论id:0资源,其他评论id")
private Integer fatherId;
@ApiModelProperty(value = "父级评论用户名")
private String fatherName;
@ApiModelProperty(value = "评论时间")
private Date releaseTime;
@ApiModelProperty(value = "用户类型:0普通用户,1管理员")
private Integer userClass;
@ApiModelProperty(value = "所属主评论id:0资源主评论,其他主评论id")
private Integer mainId;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论