package com.gxwebsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "翻译结果", description = "翻译结果")
public class TranslateDataVo implements Serializable {

  @Schema(description = "文本格式")
  private String FormatType;

  @Schema(description = "原文语言")
  private String SourceLanguage;

  @Schema(description = "译文语言")
  private String TargetLanguage;

  @Schema(description = "待翻译内容")
  private String SourceText;

  @Schema(description = "场景可选取值：商品标题（title），商品描述（description），商品沟通（communication），医疗（medical），社交（social)，金融（finance）")
  private String Scene;

  @Schema(description = "上下文信息")
  private String Context;

  @Schema(description = "翻译结果")
  private String translated;

  @Schema(description = "总单词数")
  private String wordCount;

  @Schema(description = "源语言传入 auto 时，语种识别后的源语言代码")
  private String detectedLanguage;

}
