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.

54 lines
1.1 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.pdfqaserver.dto;
import com.supervision.pdfqaserver.domain.Intention;
import lombok.Data;
/**
* 意图实体
*/
@Data
public class IntentDTO {
private String id;
/**
* 摘要
*/
private String digest;
/**
* 描述详情
*/
private String desc;
/**
* 领域分类id
*/
private String domainCategoryId;
/**
* 数据来源0=手动录入1=系统自动
*/
private String generationType;
public IntentDTO() {
}
public IntentDTO(String id, String digest, String desc, String domainCategoryId, String generationType) {
this.id = id;
this.digest = digest;
this.desc = desc;
this.domainCategoryId = domainCategoryId;
this.generationType = generationType;
}
public IntentDTO(Intention intention){
this.id = intention.getId();
this.digest = intention.getDigest();
this.desc = intention.getDesc();
this.domainCategoryId = intention.getDomainCategoryId();
this.generationType = intention.getGenerationType();
}
}