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.
52 lines
1.3 KiB
Java
52 lines
1.3 KiB
Java
10 months ago
|
package com.supervision.police.dto;
|
||
10 months ago
|
|
||
10 months ago
|
import com.supervision.police.domain.CaseEvidence;
|
||
10 months ago
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||
|
import lombok.Data;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* 案件证据信息
|
||
|
*/
|
||
|
@Data
|
||
10 months ago
|
public class CaseEvidenceDTO {
|
||
10 months ago
|
|
||
|
@Schema(description = "案件证据id")
|
||
|
private String id;
|
||
|
|
||
|
@Schema(description = "案件id")
|
||
|
private String caseId;
|
||
|
|
||
|
@Schema(description = "案件证据名称")
|
||
|
private String evidenceName;
|
||
|
|
||
|
@Schema(description = "案件证据类型")
|
||
|
private String evidenceType;
|
||
|
|
||
|
@Schema(description = "证据提供人")
|
||
|
private String provider;
|
||
|
|
||
|
@Schema(description = "甲方")
|
||
|
private String partyA;
|
||
|
|
||
|
@Schema(description = "乙方")
|
||
|
private String partyB;
|
||
|
|
||
|
@Schema(description = "文件id集合")
|
||
|
private List<String> fileIdList;
|
||
10 months ago
|
|
||
|
|
||
|
public CaseEvidence toCaseEvidence(){
|
||
|
CaseEvidence caseEvidence = new CaseEvidence();
|
||
|
caseEvidence.setId(this.id);
|
||
|
caseEvidence.setCaseId(this.caseId);
|
||
|
caseEvidence.setEvidenceName(this.evidenceName);
|
||
|
caseEvidence.setEvidenceType(this.evidenceType);
|
||
|
caseEvidence.setProvider(this.provider);
|
||
|
caseEvidence.setPartyA(this.partyA);
|
||
|
caseEvidence.setPartyB(this.partyB);
|
||
|
return caseEvidence;
|
||
|
}
|
||
10 months ago
|
}
|