package com.bizzan.bitrade.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 提币可选子币种（来自 coin_network_config + coin，按 coin_network.id 筛选）
 */
@Data
@ApiModel("提币子币种主网配置")
public class CoinWithdrawConfigVO {

    @ApiModelProperty("coin.name，配置表 coin_name")
    private String coinName;

    @ApiModelProperty("coin.unit，提币接口 unit 参数")
    private String unit;

    @ApiModelProperty("子币种中文名")
    private String coinNameCn;

    @ApiModelProperty("coin_network.id")
    private Long networkId;

    @ApiModelProperty("主网名称 coin_network.name")
    private String networkName;

    @ApiModelProperty("协议 coin_network.protocol")
    private String protocol;

    @ApiModelProperty("最小提币额")
    private BigDecimal minWithdrawAmount;

    @ApiModelProperty("最大提币额")
    private BigDecimal maxWithdrawAmount;

    @ApiModelProperty("提币手续费")
    private BigDecimal withdrawFeeValue;

    @ApiModelProperty("上级币种 parent_coin_name")
    private String parentCoinName;

    @ApiModelProperty("排序")
    private int sort;
}
