package com.hzs.third.translate.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * Description: 翻译服务入参
 * Author: jiang chao
 * Time: 2022/9/8 18:00
 * Classname: TranslateParam
 * PackageName: com.hzs.third.translate.dto
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class TranslateParam implements Serializable {

    private static final long serialVersionUID = 5415462905404464505L;

    /**
     * 翻译来源语言ApiKey
     */
    private String from;
    /**
     * 翻译目标语言ApiKey
     */
    private List<String> to;
    /**
     * 翻译内容
     */
    private String content;

}
