package com.YuyeTech.HeartRate.game.levelInfo.projo;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @author:slambb
 * @date:2020/8/4
 */
@Data
@Entity
@DynamicUpdate
public class LevelCondition {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private Integer type;
    private String explain;
    /**
     * 用于条件说明。比如关卡结束时候的限制条件
     */
    private Integer limitType;
    /**
     * 是否是分数，和一个分数限制值
     */
    private Integer isScore;
    private Integer limitScore;
    /**
     * 对应的关卡
     */
    private Integer limitLevel;
}