Sunshine
2024-11-04 919ed870ea1def0cfdd1dff23bec204975e7f34c
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
package com.nova.sankuai.domain.api.yangqianguan.response;
 
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * @author weikangdi
 * @create 2022/5/13
 */
@ApiModel(value = "用户准入接口返回值")
@Data
public class UserCheckResponse {
 
    @ApiModelProperty(value = "准入")
    public static final Integer CAN_SUCCESS = 1;
 
    @ApiModelProperty(value = "拒绝")
    public static final Integer CAN_FAIL = 0;
 
    @ApiModelProperty(value = "黑名单")
    public static final Integer REASON_1 = 1;
 
    @ApiModelProperty(value = "有进行中的贷款")
    public static final Integer REASON_2 = 2;
 
    @ApiModelProperty(value = "30天内被审批拒绝过")
    public static final Integer REASON_3 = 3;
 
    @ApiModelProperty(value = "老用户(若机构的老用户不可复贷,则返回此类型)")
    public static final Integer REASON_4 = 4;
 
 
    @ApiModelProperty(value = "是否准入")
    @JsonProperty("can_loan")
    private Integer canLoan;
 
    @ApiModelProperty(value = "拒绝原因")
    @JsonProperty("reject_reason")
    private Integer rejectReason;
 
}