package com.liquidnet.service.goblin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * @Author: wll
 * @Description: nft 兑换活动表
 * @Date:Create：in 2022/4/19 2:14 下午
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class GoblinNftExActivity implements Serializable,Cloneable {


    private static final long serialVersionUID = 1L;

    @TableId(value = "mid", type = IdType.AUTO)
    private Long mid;


    /**
     * 活动id
     */
    private String activityId;

    private String uid;

    /**
     * 活动标题
     */
    private String title;

    /**
     * 延期后的新活动id
     */
    private String newActivityId;

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

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

    /**
     * 总数量
     */
    private Integer countNumber;

    /**
     * 使用数量
     */
    private Integer useNumber;

    /**
     * 未使用数量
     */
    private Integer unUseNumber;

    private Integer isDisplay;


    private  final  static GoblinNftExActivity obj = new GoblinNftExActivity();

    public static GoblinNftExActivity getNew(){
        try {
            return  (GoblinNftExActivity) obj.clone();
        }catch (CloneNotSupportedException e){
            return new GoblinNftExActivity();
        }
    }


}


