k.e.book.ddh.entity.CcNewsQueryDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import k.e.book.common.model.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
* 请求分页的实体
*
* @author kk
* @date 2023-05-21 14:20
*/
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value="CcNewsQueryDTO", description="CcNews")
public class CcNewsQueryDTO extends PageRequest implements Serializable{
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "标题")
private String subject;
@ApiModelProperty(value = "类目")
private String categoryIds;
@ApiModelProperty(value = "封面图")
private String image;
@ApiModelProperty(value = "内容")
private String content;
@ApiModelProperty(value = "浏览量")
private Integer views;
@ApiModelProperty(value = "创建时间")
private Integer createtime;
@ApiModelProperty(value = "更新时间")
private Integer updatetime;
@ApiModelProperty(value = "状态:0=隐藏,1=已发布")
private Boolean status;
@ApiModelProperty(value = "标志")
private String flag;
@ApiModelProperty(value = "权重")
private Integer weigh;
@ApiModelProperty(value = "否推送:0=否,1=是")
private Integer isPush;
@ApiModelProperty(value = "推送内容")
private String minContent;
@ApiModelProperty(value = "推送TAG")
private String pushTags;
@ApiModelProperty(value = "updatedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedAt;
}