package com.muchinfo.mtp3pojos.vo.query.other;

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;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "InvestorQueryResult对象", description = "交易商资金查询响应")
public class InvestorQueryResult {

    @ApiModelProperty(value = "所属会员")
    private String membername;

    @ApiModelProperty(value = "交易商")
    private String accountcodename;

    @ApiModelProperty(value = "登录账号")
    private String invloginids;

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

    @ApiModelProperty(value = "所属机构")
    private String parentarea;

    @ApiModelProperty(value = "期初余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "期末余额")
    private BigDecimal currentbalance;

    @ApiModelProperty(value = "今日入金")
    private BigDecimal inamount;

    @ApiModelProperty(value = "今日出金")
    private BigDecimal outamount;

    @ApiModelProperty(value = "转让损益")
    private BigDecimal closepl;

    @ApiModelProperty(value = "浮动损益")
    private BigDecimal floatpl;

    @ApiModelProperty(value = "冻结手续费")
    private BigDecimal freezecharge;

    @ApiModelProperty(value = "手续费")
    private BigDecimal paycharge;

    @ApiModelProperty(value = "其它支出")
    private BigDecimal otherpay;

    @ApiModelProperty(value = "其它收入")
    private BigDecimal otherincome;

    @ApiModelProperty(value = "冻结保证金")
    private BigDecimal freezemargin;

    @ApiModelProperty(value = "占用保证金")
    private BigDecimal usedmargin;

    @ApiModelProperty(value = "其他冻结")
    private BigDecimal otherfreezemargin;

    @ApiModelProperty(value = "出金冻结")
    private BigDecimal outamountfreeze;

    @ApiModelProperty(value = "可用资金")
    private BigDecimal avaiablemoney;

    @ApiModelProperty(value = "可出资金")
    private BigDecimal avaiableoutmoney;

    @ApiModelProperty(value = "当前净值")
    private BigDecimal floatnetvalue;

    @ApiModelProperty(value = "风险率(%)")
    private BigDecimal cur_risk_rate;

    private BigDecimal outthreshold;

    private BigDecimal othercredit;

    private BigDecimal mortgagecredit;
}
