package com.m2pool.lease.dto.v2;

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

import java.time.LocalDateTime;

/**
 * <p>
 * 挖矿中订单
 * </p>
 *
 * @author yyb
 * @since 2025-12-02
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "买家已购矿机返回对象",value = "PurchasedMachineListDto" )
public class PurchasedMachineListDto {

    @ApiModelProperty(value = "id")
    private Long id;

    //@ApiModelProperty(value = "订单编号")
    //private String orderNumbers;

    @ApiModelProperty(value = "矿池所挖币种")
    private String coin;

    @ApiModelProperty(value = "币种对应算法")
    private String algorithm;


    @ApiModelProperty(value = "矿池名称")
    private String pool;


    @ApiModelProperty(value = "矿池挖矿地址")
    private String poolUrl;


    @ApiModelProperty(value = "矿池挖矿账户")
    private String poolUser;


    @ApiModelProperty(value = "收款钱包")
    private String walletAddress;

    @ApiModelProperty(value = "挖矿信息页面地址")
    private String watchUrl;


    private String workerId;
    //
    //@ApiModelProperty(value = "0 租约已到期 1挖矿中 2卖家矿机启动中")
    //private Integer status;
    //
    //
    //@ApiModelProperty(value = "挖矿开始时间")
    //private LocalDateTime startTime;
    //
    //
    //@ApiModelProperty(value = "挖矿结束时间")
    //private LocalDateTime endTime;


    private Long orderItemId;
}
