package com.fs.task.dto;

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

import java.util.Date;

/**
 * 医生视图
 */
@Data
public class PublicIndexDto {
    @ApiModelProperty(value = "标签列表： 去拿字典的key：  delivery_group")
    private String tags;
    @ApiModelProperty(value = "limit-只查6条，all-查询视频瀑布流")
    private String listType;

    @ApiModelProperty(value = "详情传，列表返回来的字段传过来")
    private Long id;
    private String title;
    private String doctorName;
    private String institution;
    private String department;
    private String jobTitle;
    private String summary;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


    private String coverUrl;
    private String videoUrl;

    @ApiModelProperty(value = "详情传，列表返回来的字段传过来5短视频，6长视频")
    private String videoType;
    private Long viewCount;

}
