You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot-online-exam/backend/src/main/java/lsgwr/exam/entity/QuestionLevel.java

31 lines
871 B

/***********************************************************
* @Description : 题目难度等级,比如难、中、易等
* @author : 梁山广(Laing Shan Guang)
* @date : 2019/5/14 07:47
* @email : liangshanguang2@gmail.com
***********************************************************/
package lsgwr.exam.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@Entity
@Data
public class QuestionLevel {
@Id
@GeneratedValue
@JsonProperty("id")
private Integer questionLevelId;//题目难度等级ID
@JsonProperty("name")
private String questionLevelName;//题目难度等级名称
@JsonProperty("description")
private String questionLevelDescription;//题目难度等级描述
}