package io.renren.common.vo.account;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * 账户信息查询响应参数
 */
@Data
public class AcctInfoQueryResp {
	
    @JsonProperty("ret_code")
    private String retCode;
    
    @JsonProperty("ret_msg")
    private String retMsg;
    
    @JsonProperty("oid_partner")
    private String oidPartner;
    
    @JsonProperty("user_id")
    private String userId;
    
    @JsonProperty("oid_userno")
    private String oidUserno;
    
    @JsonProperty("bank_account")
    private String bankAccount;
    
    @JsonProperty("acctinfo_list")
    private List<Acctinfo> acctinfoList;
    
    @Data
    public class Acctinfo {
    	@JsonProperty("acct_state")
        private String acctState;
    	
        @JsonProperty("acct_type")
        private String acctType;
        
        @JsonProperty("amt_balaval")
        private BigDecimal amtBalaval;
        
        @JsonProperty("amt_balcur")
        private BigDecimal amtBalcur;
        
        @JsonProperty("amt_balfrz")
        private BigDecimal amtBalfrz;
        
        @JsonProperty("amt_lastaval")
        private BigDecimal amtLastaval;
        
        @JsonProperty("amt_lastbal")
        private BigDecimal amtLastbal;
        
        @JsonProperty("amt_lastfrz")
        private BigDecimal amtLastfrz;
        
        @JsonProperty("oid_acctno")
        private BigDecimal oidAcctno;
    }
}
