package com.muchinfo.mtp3pojos.vo.marketrun;

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 = "MarketRunInvestorResult对象", description = "账户风险监控列表")
public class MarketRunInvestorResult {

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

    @ApiModelProperty(value = "账户名称 ")
    private String accountname;

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

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

    @ApiModelProperty(value = "当前冻结资金")
    private BigDecimal freezemargin;

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

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

    @ApiModelProperty(value = "当前风险净值")
    private BigDecimal balance;

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

    @ApiModelProperty(value = "总冻结")
    private BigDecimal totalfrozen;

    @ApiModelProperty(value = "浮动盈亏")
    private BigDecimal totalfloatpl;

    @ApiModelProperty(value = "授信资金")
    private BigDecimal credit;

    @ApiModelProperty(value = "当前风险率(%)")
    private BigDecimal curriskrate;

    @ApiModelProperty(value = "当前风险等级")
    private Integer currisklv;

    @ApiModelProperty(value = "当前安全度(%)")
    private BigDecimal currisksaferate;

    @ApiModelProperty(value = "当前安全等级")
    private Integer currisksafelv;
}

