121 lines
2.1 KiB
Java
121 lines
2.1 KiB
Java
|
package com.api.aiyh_guijiu.vo;
|
||
|
|
||
|
/**
|
||
|
* @author EBU7-dev1-ayh
|
||
|
* @create 2021/9/10 0010 16:50
|
||
|
* pic ps vo
|
||
|
*/
|
||
|
|
||
|
|
||
|
public class PicPsVO {
|
||
|
private int docId;
|
||
|
private int fileId;
|
||
|
private String fileName;
|
||
|
private int score;
|
||
|
private String describe;
|
||
|
|
||
|
public PicPsVO(int docId, int fileId, String fileName, int score, String describe) {
|
||
|
this.docId = docId;
|
||
|
this.fileId = fileId;
|
||
|
this.fileName = fileName;
|
||
|
this.score = score;
|
||
|
this.describe = describe;
|
||
|
}
|
||
|
|
||
|
public int getDocId() {
|
||
|
return docId;
|
||
|
}
|
||
|
|
||
|
public void setDocId(int docId) {
|
||
|
this.docId = docId;
|
||
|
}
|
||
|
|
||
|
public int getFileId() {
|
||
|
return fileId;
|
||
|
}
|
||
|
|
||
|
public void setFileId(int fileId) {
|
||
|
this.fileId = fileId;
|
||
|
}
|
||
|
|
||
|
public String getFileName() {
|
||
|
return fileName;
|
||
|
}
|
||
|
|
||
|
public void setFileName(String fileName) {
|
||
|
this.fileName = fileName;
|
||
|
}
|
||
|
|
||
|
public int getScore() {
|
||
|
return score;
|
||
|
}
|
||
|
|
||
|
public void setScore(int score) {
|
||
|
this.score = score;
|
||
|
}
|
||
|
|
||
|
public String getDescribe() {
|
||
|
return describe;
|
||
|
}
|
||
|
|
||
|
public void setDescribe(String describe) {
|
||
|
this.describe = describe;
|
||
|
}
|
||
|
|
||
|
|
||
|
public static final class PicPsVOBuilder {
|
||
|
private int docId;
|
||
|
private int fileId;
|
||
|
private String fileName;
|
||
|
private int score;
|
||
|
private String describe;
|
||
|
|
||
|
private PicPsVOBuilder() {
|
||
|
}
|
||
|
|
||
|
public static PicPsVOBuilder aPicPsVO() {
|
||
|
return new PicPsVOBuilder();
|
||
|
}
|
||
|
|
||
|
public PicPsVOBuilder docId(int docId) {
|
||
|
this.docId = docId;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public PicPsVOBuilder fileId(int fileId) {
|
||
|
this.fileId = fileId;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public PicPsVOBuilder fileName(String fileName) {
|
||
|
this.fileName = fileName;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public PicPsVOBuilder score(int score) {
|
||
|
this.score = score;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public PicPsVOBuilder describe(String describe) {
|
||
|
this.describe = describe;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public PicPsVO build() {
|
||
|
return new PicPsVO(docId, fileId, fileName, score, describe);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "PicPsVO{" +
|
||
|
"docId=" + docId +
|
||
|
", fileId=" + fileId +
|
||
|
", fileName='" + fileName + '\'' +
|
||
|
", score=" + score +
|
||
|
", describe='" + describe + '\'' +
|
||
|
'}';
|
||
|
}
|
||
|
}
|