package com.m2pool.lease.dto.v2;

import com.m2pool.lease.annotation.EncryptedField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description 矿机对应的矿池配置信息
 * @Date 2025/11/26 14:19
 * @Author yyb
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "矿池列表返回对象",value = "OrderMiningInfoDto" )
public class OrderMiningInfoDto {
    @ApiModelProperty(value = "矿池名称")
    private String poolName;

    @ApiModelProperty(value = "矿池配置id")
    private Long coinConfigId;

    @ApiModelProperty(value = "是否钱包挖矿 0 不支持 1 支持")
    private Boolean walletMining;

    @ApiModelProperty(value = "矿机id")
    private Long machineId;

    @ApiModelProperty(value = "挖矿钱包(用户自己输入)")
    @EncryptedField
    private String walletAddress;

    @ApiModelProperty(value = "挖矿账号(用户自己输入)")
    private String poolUser;

    @ApiModelProperty(value = "矿工号(用户自己输入)")
    private String workerId;

    @ApiModelProperty(value = "挖矿钱包币种")
    private String coin;
}
