package com.cslg.ppa.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class SelectArticleInfoVO {
    private Integer articleId;

    private String title;

    private String digest;

    private Integer categoryId;

    private String categoryName;

    private Integer sourceId;

    private String sourceName;
    
    private Integer sourceType;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date publicTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date createTime;

    private String articleUrl;

    private String wxArticleIcon;

}
