package com.m2pool.lease.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商品表对应的物品机器表
 * </p>
 *
 * @author yyb
 * @since 2025-11-25
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LeaseMachinePrice implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 矿机id
     */
    private Long machineId;

    /**
     * 实际单价
     */
    private BigDecimal price;

    /**
     * 价值单位
     */
    private String coin;

    /**
     * 链
     */
    private String chain;

    /**
     * 逻辑删除字段
     */
    private Boolean del;


}
