|
@@ -1,5 +1,6 @@
|
|
|
package com.smppw.modaq.domain.dto.report;
|
|
|
|
|
|
+import com.smppw.modaq.application.components.ReportParseUtils;
|
|
|
import com.smppw.modaq.domain.entity.report.ReportFundInfoDO;
|
|
|
import com.smppw.modaq.infrastructure.util.DateUtils;
|
|
|
import lombok.Getter;
|
|
@@ -13,11 +14,11 @@ import java.util.Objects;
|
|
|
* @description 报告基金基本信息
|
|
|
*/
|
|
|
@Setter
|
|
|
-@Getter
|
|
|
public class ReportFundInfoDTO extends BaseReportDTO<ReportFundInfoDO> {
|
|
|
/**
|
|
|
* 基金的名称
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String fundName;
|
|
|
|
|
|
/**
|
|
@@ -28,74 +29,95 @@ public class ReportFundInfoDTO extends BaseReportDTO<ReportFundInfoDO> {
|
|
|
/**
|
|
|
* 基金管理人的名称
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String companyName;
|
|
|
|
|
|
/**
|
|
|
* 基金交易使用的货币种类
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String currency;
|
|
|
|
|
|
/**
|
|
|
* 投资顾问
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String advisorName;
|
|
|
/**
|
|
|
* 基金托管人
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String custodianName;
|
|
|
/**
|
|
|
* 基金经理描述
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String fundManager;
|
|
|
/**
|
|
|
* 投资策略
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String fundStrategyDescription;
|
|
|
/**
|
|
|
* 基金成立日期
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String inceptionDate;
|
|
|
/**
|
|
|
* 行业趋势
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String industryTrend;
|
|
|
/**
|
|
|
* 投资目标
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String investmentObjective;
|
|
|
/**
|
|
|
* 杠杆比例
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String leverage;
|
|
|
/**
|
|
|
* 杠杆比例描述
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String leverageNote;
|
|
|
/**
|
|
|
* 基金运作方式
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String operationType;
|
|
|
/**
|
|
|
* 备案编码
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String registerNumber;
|
|
|
/**
|
|
|
* 风险收益特征
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String riskReturnDesc;
|
|
|
/**
|
|
|
* 业绩比较基准
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String secondaryBenchmark;
|
|
|
/**
|
|
|
* 基金到期日期
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String dueDate;
|
|
|
/**
|
|
|
* 信息披露报告是否经托管机构复核
|
|
|
*/
|
|
|
+ @Getter
|
|
|
private String isReviewed;
|
|
|
|
|
|
+ public String getFundCode() {
|
|
|
+ return ReportParseUtils.matchFundCode(this.fundCode);
|
|
|
+ }
|
|
|
+
|
|
|
public ReportFundInfoDTO() {
|
|
|
super();
|
|
|
}
|
|
@@ -108,7 +130,7 @@ public class ReportFundInfoDTO extends BaseReportDTO<ReportFundInfoDO> {
|
|
|
public ReportFundInfoDO toEntity() {
|
|
|
ReportFundInfoDO entity = new ReportFundInfoDO();
|
|
|
entity.setFileId(this.getFileId());
|
|
|
- entity.setFundCode(this.fundCode);
|
|
|
+ entity.setFundCode(this.getFundCode());
|
|
|
entity.setCompanyName(this.companyName);
|
|
|
entity.setCurrency(this.currency);
|
|
|
entity.setFundName(this.fundName);
|
|
@@ -136,9 +158,10 @@ public class ReportFundInfoDTO extends BaseReportDTO<ReportFundInfoDO> {
|
|
|
public String toString() {
|
|
|
return "{" +
|
|
|
super.toString() +
|
|
|
- ", fundName='" + fundName + '\'' +
|
|
|
- ", fundCode='" + fundCode + '\'' +
|
|
|
- ", companyName='" + companyName + '\'' +
|
|
|
+ ", fundName='" + this.fundName + '\'' +
|
|
|
+ ", fundCode='" + this.fundCode + '\'' +
|
|
|
+ ", matchFundCode='" + this.getFundCode() + '\'' +
|
|
|
+ ", companyName='" + this.companyName + '\'' +
|
|
|
'}';
|
|
|
}
|
|
|
}
|