package com.izouma.nineth.domain;

import lombok.*;

import javax.persistence.Entity;
import javax.persistence.Transient;

/**
 * 活动收集
 *
 * @author ZouYuHong
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
public class ActivityCollectionInfo extends BaseEntity {
    /**
     *藏品id
     */
    private Long collectionId;
    /**
     * 藏品名称
     */
    private String collectionName;
    /**
     * 收集数量
     */
    private Integer num;
    /**
     * 用户持有量
     */
    @Transient
    private Integer userHoldNum;
    /**
     * 图片地址
     */
    @Transient
    private String imgUrl;
    /**
     * 是否为必须收集款
     */
    private Boolean mustNeedCollected;
    /**
     * 为不销毁藏品
     */
    private boolean notDestroy;
}
