package com.muchinfo.mtp3pojos.vo.bankaccountsign;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "PutOrInAmountQueryResultDetail对象", description = "出入金查询详情响应")
public class PutOrInAmountQueryResultDetail {

    @ApiModelProperty(value = "资金账户")
    private Long accountcode;

    private String cusbankid;

    @ApiModelProperty(value = "交易日")
    private String tradedate;

    @ApiModelProperty(value = "银行服务流水号")
    private String exchticket;

    @ApiModelProperty(value = "上一日总资产")
    private BigDecimal balance;

    @ApiModelProperty(value = "当前交易保证金")
    private BigDecimal usedmargin;

    @ApiModelProperty(value = "托管银行")
    private String cusbankname;

    @ApiModelProperty(value = "bankaccountno")
    private String bankaccountno;

    private Long bankid;

    @ApiModelProperty(value = "开户行")
    private String bankname;

    @ApiModelProperty(value = "branchbankname")
    private String branchbankname;

    @ApiModelProperty(value = "银行卡开户户名")
    private String bankaccountname;

    @ApiModelProperty(value = "申请类型")
    private Integer executetype;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "出入金服务费")
    private BigDecimal charge;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "账户服务流水号")
    private String accountticket;

    @ApiModelProperty(value = "银行流水号")
    private String bankticket;

    @ApiModelProperty(value = "交易服务流水号")
    private String extoperateid;

    @ApiModelProperty(value = "欠款")
    private BigDecimal curdebt;

    @ApiModelProperty(value = "更新时间")
    private Date updatetime;

    @ApiModelProperty(value = "备注")
    private String applyremark;

    @ApiModelProperty(value = "状态 银行业务出入金查询展示")
    private Integer applystatus;

    @ApiModelProperty(value = "拒绝/失败原因 银行业务出入金查询展示 && applystatus in (3,12,14,15,16,17)")
    private String remark2;

    @ApiModelProperty(value = "审核人 银行业务出入金查询展示 applystatus != 1")
    private String username;

    @ApiModelProperty(value = "审核时间 银行业务出入金查询展示 applystatus != 1")
    private Date audittime;

    @ApiModelProperty(value = "对账差错标志 银行业务出入金查询展示")
    private Integer checkerrorflag;

    private String extendinfo;

    private BankSignExtendInfo bankSignExtendInfo;
}
