package com.muchinfo.mtp3pojos.vo.taaccount;

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="TaAccountQueryResult对象", description="资金管理列表查询返回")
public class TaAccountQueryResult {

    @ApiModelProperty(value = "资金账号")
    private Long accountId;

    @ApiModelProperty(value = "账户类型 0 子账户，1 母账号")
    private Long isMain;

    @ApiModelProperty(value = "内/外部 0 内部账户,1 外部账户")
    private Integer taAccountType;

    @ApiModelProperty(value = "关联账户")
    private String relatedName;

    @ApiModelProperty(value = "所属母账户")
    private Long parentAccountId;

    @ApiModelProperty(value = "交易状态 code：traderstatus")
    private Integer tradeStatus;

    @ApiModelProperty(value = "币种")
    private Integer currencyid;

    @ApiModelProperty(value = "所属用户")
    private String accountName;

    @ApiModelProperty(value = "是否展示修改按钮")
    private Integer selfsupport;

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

    @ApiModelProperty(value = "出金阈值")
    private BigDecimal outThreshold;

    private Long userId;

    private Long relatedUserId;

    private Integer relatedAccountStatus;
}
