package com.ylx.merchant.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("商户动态VO")
public class MomentVO implements Serializable {
    private static final long serialVersionUID = -5132347021078141057L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("动态标题")
    private String title;

    @ApiModelProperty("动态内容")
    private String content;

    @ApiModelProperty("媒体类型:1-图片,2-视频")
    private Integer mediaType;

    @ApiModelProperty("封面图URL")
    private String coverUrl;

    @ApiModelProperty("浏览量")
    private Integer viewCount;

    @ApiModelProperty("地址名称")
    private String location;

    @ApiModelProperty("发布时间")
    private LocalDateTime publishTime;

}
