package com.ssyf.module.common.domain.query;

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

/**
 * 百度翻译请求参数实体类
 */
@Data
@ApiModel(description = "百度翻译请求参数")
public class BaiduTranslateRequest {

    @ApiModelProperty(value = "待翻译的文本", required = true)
    private String text;

    @ApiModelProperty(value = "源语言，默认为auto自动检测", example = "auto")
    private String from = "auto";

    @ApiModelProperty(value = "目标语言，默认为zh中文", example = "zh")
    private String to = "zh";
}
