package com.platform.modules.live.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

/**
 * @author MXY
 * 2020/4/27 17:59
 */
@Data
public class LiveTaskAllocationListVo {

    //数据ID
    @NotBlank(message = "id不能为空")
    private Integer id;
    //语音url
    @NotBlank(message = "uri不能为空")
    private String uri;
    //语音内容
    @NotBlank(message = "text不能为空")
    private String text;
    //语音时长
    @ApiModelProperty(value = "durationTime不能为空")
    private String durationTime;
    //创建时间
    @NotBlank(message = "createDate不能为空")
    private Date createDate;
    //是否发布 0 未读 1 已读
    @NotBlank(message = "isRead不能为空")
    private Integer isRead;
    //真实姓名
    @NotBlank(message = "isRead不能为空")
    private String reporterName;
}
