package com.qnfhq.modules.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qnfhq.common.entity.BaseEntity;
import com.qnfhq.modules.user.entity.AppAssetEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户购买质押限制对象 t_ming_product_user
 *
 * @author table
 * @date 2023-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_ming_product_user")
public class MingProductUser extends BaseEntity {

private static final long serialVersionUID=1L;

    /**
     * $column.columnComment
     */
        @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 产品id
     */
    private Long productId;
    /**
     * 玩家用户id
     */
    private Long appUserId;
    /**
     * 限购次数
     */
    private Long pledgeNum;
    /**
     *
     */
    private String searchValue;

    @TableField(exist = false)
    private AppAssetEntity tAppUser;

    @TableField(exist = false)
    private String coin;

    @TableField(exist = false)
    private String icon;

    @TableField(exist = false)
    private String title;

}
