package com.m2pool.lease.dto;

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 = "LeaseOrderItemDto")
public class OrderItemDto {

    /**
     * 订单 ID
     */
    @ApiModelProperty(value = "订单 ID")
    private Long orderId;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    /**
     * 商品 ID
     */
    @ApiModelProperty(value = "商品 ID")
    private Long productId;

    /**
     * 机器id
     */
    @ApiModelProperty(value = "机器id")
    private Long productMachineId;

    /**
     * 商品租期天数
     */
    @ApiModelProperty(value = "商品租期天数")
    private Integer leaseTime;


    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;
    /**
     * 商品图片路径
     */
    @ApiModelProperty(value = "商品图片路径")
    private String image;


    /**
     * 收货地址（模拟）
     */
    @ApiModelProperty(value = "收货地址（模拟）")
    private String address;


    @ApiModelProperty(value = "机器单价")
    private BigDecimal price;

    /**
     * 支付币种
     */
    @ApiModelProperty(value = "支付币种")
    private String payCoin;


    @ApiModelProperty(value = "租赁矿机数量")
    private Integer numbers;

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



}
