package com.yuchen.saas.park.api.vo.building;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author yuanzhelin
 * @Date 2024/10/24 16:25
 * @Description TODO
 */
@Data
public class PmgBatBuildingDynamicPageVO implements Serializable {
    private Long id;
    /**
     * 动态类型(1图文2视频)
     */
    @ApiModelProperty(name = "dynamicType", value = "动态类型(1图文2视频)")
    private Integer dynamicType;
    /**
     * 标题
     */
    @ApiModelProperty(name = "title", value = "标题")
    private String title;
    /**
     * 分享数
     */
    @ApiModelProperty(name = "shareNum", value = "分享数")
    private String shareNum;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty(value = "创建人",hidden = true)
    private Long createUser;
    @ApiModelProperty("创建人名称")
    private String createUserName;
    /**
     * 发布状态(1未发布2已发布3已关闭)
     */
    @ApiModelProperty(name = "releaseStatus", value = "发布状态(1未发布2已发布3已关闭)")
    private Integer releaseStatus;
    /**
     * 浏览数
     */
    @ApiModelProperty(name = "viewCount", value = "浏览数")
    private Integer viewCount;
}
