package com.ylx.massage.domain.vo;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 动态详情VO
 */
@Data
@ApiModel("动态详情")
public class MomentDetailVO {

    @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 LocalDateTime publishTime;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    @ApiModelProperty("发布地址")
    private String address;


    @ApiModelProperty("技师ID")
    private String technicianId;

    @ApiModelProperty("技师昵称")
    private String technicianNickName;

    @ApiModelProperty("技师头像")
    private String technicianAvatar;

    @ApiModelProperty("技师状态:1-可服务,2-可预约")
    private Integer technicianStatus;

    /**
     * 媒体列表
     */
    @ApiModelProperty("媒体列表")
    private List<MomentMediaVO> mediaList;

    @ApiModelProperty("距离(km)")
    private Double distance;

    /**
     * 可见范围:1-公开
     */
    private Integer visibleRange;
}
