|
@@ -1,5 +1,6 @@
|
|
|
package com.qmth.teachcloud.mark.entity;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import java.io.Serializable;
|
|
@@ -24,9 +25,13 @@ public class MarkGroupStudent implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ @ApiModelProperty(value = "ID")
|
|
|
+ @TableId(value = "id", type = IdType.INPUT)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
@ApiModelProperty(value = "考生ID")
|
|
|
- @TableId(value = "student_id")
|
|
|
private Long studentId;
|
|
|
|
|
|
@ApiModelProperty(value = "分组ID")
|
|
@@ -42,6 +47,14 @@ public class MarkGroupStudent implements Serializable {
|
|
|
@ApiModelProperty(value = "状态")
|
|
|
private SubjectiveStatus status;
|
|
|
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
public Long getStudentId() {
|
|
|
return studentId;
|
|
|
}
|