新增业务种类与历史利率后端字段
This commit is contained in:
@@ -41,6 +41,14 @@ public class CorporateLoanPricingCreateDTO implements Serializable {
|
|||||||
@NotBlank(message = "申请金额不能为空")
|
@NotBlank(message = "申请金额不能为空")
|
||||||
private String applyAmt;
|
private String applyAmt;
|
||||||
|
|
||||||
|
@Schema(description = "业务种类", requiredMode = Schema.RequiredMode.REQUIRED, example = "存量转贷", allowableValues = {"新客", "存量新增", "存量转贷"})
|
||||||
|
@NotBlank(message = "业务种类不能为空")
|
||||||
|
@Pattern(regexp = "^(新客|存量新增|存量转贷)$", message = "业务种类必须是:新客、存量新增、存量转贷之一")
|
||||||
|
private String businessType;
|
||||||
|
|
||||||
|
@Schema(description = "历史贷款利率", example = "3.65")
|
||||||
|
private String loanRateHistory;
|
||||||
|
|
||||||
@Schema(description = "还款方式", example = "分期", allowableValues = {"分期", "不分期"})
|
@Schema(description = "还款方式", example = "分期", allowableValues = {"分期", "不分期"})
|
||||||
private String repayMethod;
|
private String repayMethod;
|
||||||
|
|
||||||
|
|||||||
@@ -153,6 +153,11 @@ public class ModelInvokeDTO {
|
|||||||
*/
|
*/
|
||||||
private String collThirdParty;
|
private String collThirdParty;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 历史贷款利率
|
||||||
|
*/
|
||||||
|
private String loanRateHistory;
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
// * 贷款利率(必填)
|
// * 贷款利率(必填)
|
||||||
// */
|
// */
|
||||||
|
|||||||
@@ -46,6 +46,14 @@ public class PersonalLoanPricingCreateDTO implements Serializable {
|
|||||||
@Pattern(regexp = "^(consumer|business)$", message = "贷款用途必须是:consumer、business之一")
|
@Pattern(regexp = "^(consumer|business)$", message = "贷款用途必须是:consumer、business之一")
|
||||||
private String loanPurpose;
|
private String loanPurpose;
|
||||||
|
|
||||||
|
@Schema(description = "业务种类", requiredMode = Schema.RequiredMode.REQUIRED, example = "存量转贷", allowableValues = {"新客", "存量新增", "存量转贷"})
|
||||||
|
@NotBlank(message = "业务种类不能为空")
|
||||||
|
@Pattern(regexp = "^(新客|存量新增|存量转贷)$", message = "业务种类必须是:新客、存量新增、存量转贷之一")
|
||||||
|
private String businessType;
|
||||||
|
|
||||||
|
@Schema(description = "历史贷款利率", example = "3.65")
|
||||||
|
private String loanRateHistory;
|
||||||
|
|
||||||
@Schema(description = "借款期限(年)", requiredMode = Schema.RequiredMode.REQUIRED, example = "3")
|
@Schema(description = "借款期限(年)", requiredMode = Schema.RequiredMode.REQUIRED, example = "3")
|
||||||
@NotBlank(message = "借款期限不能为空")
|
@NotBlank(message = "借款期限不能为空")
|
||||||
private String loanTerm;
|
private String loanTerm;
|
||||||
|
|||||||
@@ -103,6 +103,12 @@ public class LoanPricingWorkflow implements Serializable
|
|||||||
/** 贷款用途: consumer-消费/business-经营 */
|
/** 贷款用途: consumer-消费/business-经营 */
|
||||||
private String loanPurpose;
|
private String loanPurpose;
|
||||||
|
|
||||||
|
/** 业务种类: 新客/存量新增/存量转贷 */
|
||||||
|
private String businessType;
|
||||||
|
|
||||||
|
/** 历史贷款利率 */
|
||||||
|
private String loanRateHistory;
|
||||||
|
|
||||||
/** 是否有经营佐证: true/false */
|
/** 是否有经营佐证: true/false */
|
||||||
private String bizProof;
|
private String bizProof;
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
package com.ruoyi.loanpricing.domain.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class HistoryLoanContractVO implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@JsonProperty("cust_isn")
|
||||||
|
private String custIsn;
|
||||||
|
|
||||||
|
@JsonProperty("loan_contract_history")
|
||||||
|
private String loanContractHistory;
|
||||||
|
|
||||||
|
@JsonProperty("guar_type_history")
|
||||||
|
private String guarTypeHistory;
|
||||||
|
|
||||||
|
@JsonProperty("product_code_history")
|
||||||
|
private String productCodeHistory;
|
||||||
|
|
||||||
|
@JsonProperty("loan_rate_history")
|
||||||
|
private String loanRateHistory;
|
||||||
|
|
||||||
|
@JsonProperty("loan_amount_history")
|
||||||
|
private String loanAmountHistory;
|
||||||
|
|
||||||
|
@JsonProperty("loan_sign_date_history")
|
||||||
|
private String loanSignDateHistory;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user