|
@@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
+import com.qmth.teachcloud.common.enums.mark.MarkProblemStatus;
|
|
|
|
+import com.qmth.teachcloud.common.enums.mark.MarkProblemType;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
@@ -46,7 +48,7 @@ public class MarkProblemHistory implements Serializable {
|
|
private String secretNumber;
|
|
private String secretNumber;
|
|
|
|
|
|
@ApiModelProperty(value = "问题类型")
|
|
@ApiModelProperty(value = "问题类型")
|
|
- private String type;
|
|
|
|
|
|
+ private MarkProblemType type;
|
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@ApiModelProperty(value = "考生ID")
|
|
@ApiModelProperty(value = "考生ID")
|
|
@@ -57,7 +59,7 @@ public class MarkProblemHistory implements Serializable {
|
|
private Long taskId;
|
|
private Long taskId;
|
|
|
|
|
|
@ApiModelProperty(value = "状态")
|
|
@ApiModelProperty(value = "状态")
|
|
- private String status;
|
|
|
|
|
|
+ private MarkProblemStatus status;
|
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
@ApiModelProperty(value = "处理人ID")
|
|
@ApiModelProperty(value = "处理人ID")
|
|
@@ -121,11 +123,11 @@ public class MarkProblemHistory implements Serializable {
|
|
public void setSecretNumber(String secretNumber) {
|
|
public void setSecretNumber(String secretNumber) {
|
|
this.secretNumber = secretNumber;
|
|
this.secretNumber = secretNumber;
|
|
}
|
|
}
|
|
- public String getType() {
|
|
|
|
|
|
+ public MarkProblemType getType() {
|
|
return type;
|
|
return type;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setType(String type) {
|
|
|
|
|
|
+ public void setType(MarkProblemType type) {
|
|
this.type = type;
|
|
this.type = type;
|
|
}
|
|
}
|
|
public Long getStudentId() {
|
|
public Long getStudentId() {
|
|
@@ -142,11 +144,11 @@ public class MarkProblemHistory implements Serializable {
|
|
public void setTaskId(Long taskId) {
|
|
public void setTaskId(Long taskId) {
|
|
this.taskId = taskId;
|
|
this.taskId = taskId;
|
|
}
|
|
}
|
|
- public String getStatus() {
|
|
|
|
|
|
+ public MarkProblemStatus getStatus() {
|
|
return status;
|
|
return status;
|
|
}
|
|
}
|
|
|
|
|
|
- public void setStatus(String status) {
|
|
|
|
|
|
+ public void setStatus(MarkProblemStatus status) {
|
|
this.status = status;
|
|
this.status = status;
|
|
}
|
|
}
|
|
public Long getUpdateUserId() {
|
|
public Long getUpdateUserId() {
|