package com.m2pool.lease.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

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

/**
 * <p>
 * 店铺表
 * </p>
 *
 * @author yyb
 * @since 2025-08-05
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class LeaseShop implements Serializable {

    private static final long serialVersionUID=1L;

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

    /**
     * 店铺唯一标识码
     */
    private String identityCode;

    /**
     * 店铺拥有者邮箱
     */
    private String userEmail;

    /**
     * 店铺名称
     */
    private String name;

    /**
     * 店铺图片路径
     */
    private String image;

    /**
     * 店铺描述
     */
    private String description;

    /**
     * 商铺状态 0 待审核 1 审核通过(店铺开启) 2 店铺关闭 10 店铺开启
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

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

    private BigDecimal feeRate;

    /**
     * 售出矿机数
     */
    private Integer saleNumber;

}
