package com.cmvr.vi.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cmvr.common.annotation.Excel;
import com.cmvr.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("语音交互--语料库")
public class ViCorpus extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("语料ID")
    @TableId(type = IdType.AUTO)
    private Long corpusId;

    @ApiModelProperty("测试语料-连续对话的父ID")
    private String parentId;

    @Excel(name = "语料名称")
    @ApiModelProperty("语料名称")
    private String corpusName;

    @Excel(name = "语料类型", readConverterExp = "WAKEUP唤醒,TEST测试")
    @ApiModelProperty("语料类型")
    private String type;

    @Excel(name = "语音对应的文本")
    @ApiModelProperty("语音对应的文本")
    private String textContent;

    @Excel(name = "语音文件存放路径")
    @ApiModelProperty("语音文件存放路径")
    private String audioPath;

    @Excel(name = "音色")
    @ApiModelProperty("音色")
    private String voiceType;

    @Excel(name = "方言")
    @ApiModelProperty("方言")
    private String dialect;

    //    @Excel(name = "预期结果(预留)")
    @ApiModelProperty("预期结果(预留)")
    private String expectedResult;

    @Excel(name = "连续语料的顺序")
    @ApiModelProperty("连续语料的顺序")
    private Integer sortParent;

    @Excel(name = "同一父语料下的顺序")
    @ApiModelProperty("同一父语料下的顺序")
    private Integer sortOrder;

    @Excel(name = "是否连续（0连续 1单次）")
    @ApiModelProperty("是否连续（0连续 1单次）,测试语料时使用")
    private Integer continuous = 1;

    @ApiModelProperty("minio地址")
    private String minioUrl;

    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    @ApiModelProperty(value = "状态", notes = "0=正常,1=停用")
    private String status;
}
