1
sunshine
2024-11-05 92a9e53e82c74d36a72eb92f93777bbb16e2db73
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package com.nova.sankuai.domain.api.hengyidai.response;
 
import com.nova.sankuai.domain.vo.RepayPlanVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel("还款计划")
public class RepayPlans {
 
    @ApiModelProperty("当前期数")
    private Integer currentPeriodNum;
 
    @ApiModelProperty("应还款时间 格式yyyy-MM-dd HH:mm:ss")
    private String repayTime;
 
    @ApiModelProperty("当期应还总金额 单位:分。")
    private Long currentTotalRepayAmount;
 
    @ApiModelProperty("应还本金 单位:分。")
    private Long repayPrincipal;
 
    @ApiModelProperty("应还利息 单位:分。")
    private Long repayInterest;
 
    @ApiModelProperty("应还其他费用 单位:分。")
    private Long repayOtherFee;
 
    @ApiModelProperty("当期还款金额描述 展示给用户看,如:含本金 xxx元 , 利 息 xxx元,其他费用xxxx 元")
    private String remark;
 
    public RepayPlanVo parseVo() {
        RepayPlanVo repayPlanVo = new RepayPlanVo();
        repayPlanVo.setCurrentPeriodNum(this.currentPeriodNum);
        repayPlanVo.setRepayTime(this.repayTime);
        repayPlanVo.setCurrentTotalRepayAmount(this.currentTotalRepayAmount);
        repayPlanVo.setRepayPrincipal(this.repayPrincipal);
        repayPlanVo.setRepayInterest(this.repayInterest);
        repayPlanVo.setRepayOtherFee(this.repayOtherFee);
        repayPlanVo.setRemark(this.getRemark());
        return repayPlanVo;
    }
 
}