package com.m2pool.lease.entity;

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

import java.io.Serializable;

/**
 * <p>
 * 矿池nexa机器实时平均算力 - 商铺地址配置表
 * </p>
 *
 * @author yyb
 * @since 2025-09-04
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LeaseShopAddressConfig implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 买方账号id（邮箱）
     */
    private String userId;

    /**
     * 卖方收款钱包 每个买方对应一个地址（自动生成匹配）
     */
    private String address;

    /**
     * 商铺收款钱包二维码
     */
    private String qrcode;

    /**
     * 商铺ID
     */
    private Long shopId;

}
