package com.m2pool.lease.vo;

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;
import java.util.List;

/**
 * <p>
 * 订单生成请求对象
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "订单生成请求对象",value = "OrderInfoVo")
public class OrderInfoVo extends BaseVo{

    @ApiModelProperty(value = "店铺ID",example = "8")
    private Long shopId;

    @ApiModelProperty(value = "商品 ID",example = "2")
    private Long productId;

    @ApiModelProperty(value = "矿机 ID",example = "1")
    private Long machineId;

    @ApiModelProperty(value = "租赁时长",example = "1")
    private Integer leaseTime;

    @ApiModelProperty(value = "租赁数量",example = "1")
    private Integer numbers = 1;

    @ApiModelProperty(value = "矿机型号 0 ASIC 1 GPU")
    private Integer type;

    @ApiModelProperty(value = "支付币种",required = true)
    private String coin;

    @ApiModelProperty(value = "链名称",required = true)
    private String chain;

}
