package com.m2pool.lease.vo;

import io.swagger.annotations.Api;
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;

/**
 * <p>
 * 订单明细请求对象
 * </p>
 *
 * @author yyb
 * @since 2025-07-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "订单明细请求对象",value = "OrderItemVo")
public class OrderItemVo extends BaseVo{
    /**
     * 机器id
     */
    @ApiModelProperty(value = "机器id",example = "1")
    private Long productMachineId;

    @ApiModelProperty(value = "矿工账号")
    private String user;

    @ApiModelProperty(value = "矿机编号")
    private String miner;

    /**
     * 商品单价
     */
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "租赁天数",example = "1")
    private Integer leaseTime;
}
