You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.4 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.supervision.dto;
import com.supervision.domain.DigitalHuman;
import lombok.Data;
@Data
public class DigitalHumanDTO {
private String id;
/**
* 模特名
*/
private String modelName;
/**
* 所属行业
*/
private String industry;
/**
* 擅长
*/
private String goodAt;
/**
* 默认音色id
*/
private String defaultVoiceId;
/**
* 在线状态 0离线 1在线
*/
private String onlineStatus;
/**
* 模型类型 0系统预设 1自定义
*/
private String modelType;
/**
* 头像图片id
*/
private String headPicId;
/**
* 模特性别 0女 1
*/
private String gender;
/**
* 服务地址
*/
private String serviceUrl;
public DigitalHumanDTO() {
}
public DigitalHumanDTO(DigitalHuman digitalHuman) {
this.id = digitalHuman.getId();
this.modelName = digitalHuman.getModelName();
this.industry = digitalHuman.getIndustry();
this.goodAt = digitalHuman.getGoodAt();
this.defaultVoiceId = digitalHuman.getDefaultVoiceId();
this.onlineStatus = digitalHuman.getOnlineStatus();
this.modelType = digitalHuman.getModelType();
this.headPicId = digitalHuman.getHeadPicId();
this.gender = digitalHuman.getGender();
this.serviceUrl = digitalHuman.getServiceUrl();
}
}