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

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();
}
}