package com.microservices.zone.member.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 置顶文章信息返回对象
 *
 * @author otto
 */
@Data
@ApiModel("置顶文章信息")
public class ZonePointsTopDocVo {

    @ApiModelProperty("专区积分文档记录ID")
    private Long id;

    @ApiModelProperty("专区ID")
    private Long zoneId;

    @ApiModelProperty("文章ID")
    private Long docId;

    @ApiModelProperty("文章名称")
    private String docName;

    @ApiModelProperty("文章概要")
    private String summary;

    @ApiModelProperty("是否积分置顶")
    private Boolean isPointsTop;

    @ApiModelProperty("置顶过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiryTime;
}
