All Downloads are FREE. Search and download functionalities are using the official Maven repository.

k.e.book.ddh.entity.CcNewsVO Maven / Gradle / Ivy



package k.e.book.ddh.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @author kk
 * @date 2023-05-21 14:19
 */
@Data
@ApiModel(value="CcNewsVO", description="CcNews")
public class CcNewsVO 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(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedAt;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy