|
@@ -1,7 +1,6 @@
|
|
|
package com.qmth.themis.business.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
-import com.qmth.themis.business.base.BaseEntity;
|
|
|
import com.qmth.themis.business.enums.MonitorStatusSourceEnum;
|
|
|
import com.qmth.themis.business.enums.MonitorVideoSourceEnum;
|
|
|
import com.qmth.themis.common.contanst.Constants;
|
|
@@ -16,35 +15,7 @@ import io.swagger.annotations.ApiModelProperty;
|
|
|
* @Date: 2020/8/7
|
|
|
*/
|
|
|
@ApiModel(value = "t_ie_exam_invigilate_call_log", description = "监控观看地址和通话申请日志")
|
|
|
-public class TIeExamInvigilateCallLog extends BaseEntity {
|
|
|
-
|
|
|
- @ApiModelProperty(value = "考试记录ID")
|
|
|
- @TableField(value = "exam_record_id")
|
|
|
- private Long examRecordId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "考试ID")
|
|
|
- @TableField(value = "exam_id")
|
|
|
- private Long examId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "场次ID")
|
|
|
- @TableField(value = "exam_activity_id")
|
|
|
- private Long examActivityId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "考生ID")
|
|
|
- @TableField(value = "exam_student_id")
|
|
|
- private Long examStudentId;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "监考视频源")
|
|
|
- @TableField(value = "source")
|
|
|
- private MonitorVideoSourceEnum source;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "观看地址")
|
|
|
- @TableField(value = "live_url")
|
|
|
- private String liveUrl;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "状态")
|
|
|
- @TableField(value = "status")
|
|
|
- private MonitorStatusSourceEnum status;
|
|
|
+public class TIeExamInvigilateCallLog extends TIeExamInvigilateCall {
|
|
|
|
|
|
@ApiModelProperty(value = "备注")
|
|
|
@TableField(value = "remark")
|
|
@@ -56,51 +27,19 @@ public class TIeExamInvigilateCallLog extends BaseEntity {
|
|
|
|
|
|
public TIeExamInvigilateCallLog(Long examRecordId, MonitorVideoSourceEnum source, String liveUrl, MonitorStatusSourceEnum status) {
|
|
|
setId(Constants.idGen.next());
|
|
|
- this.examRecordId = examRecordId;
|
|
|
- this.source = source;
|
|
|
- this.liveUrl = liveUrl;
|
|
|
- this.status = status;
|
|
|
+ setExamRecordId(examRecordId);
|
|
|
+ setSource(source);
|
|
|
+ setLiveUrl(liveUrl);
|
|
|
+ setStatus(status);
|
|
|
}
|
|
|
|
|
|
public TIeExamInvigilateCallLog(Long examRecordId, MonitorVideoSourceEnum source, String liveUrl, MonitorStatusSourceEnum status, String remark) {
|
|
|
setId(Constants.idGen.next());
|
|
|
- this.examRecordId = examRecordId;
|
|
|
- this.source = source;
|
|
|
- this.liveUrl = liveUrl;
|
|
|
+ setExamRecordId(examRecordId);
|
|
|
+ setSource(source);
|
|
|
+ setLiveUrl(liveUrl);
|
|
|
+ setStatus(status);
|
|
|
this.remark = remark;
|
|
|
- this.status = status;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getExamRecordId() {
|
|
|
- return examRecordId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setExamRecordId(Long examRecordId) {
|
|
|
- this.examRecordId = examRecordId;
|
|
|
- }
|
|
|
-
|
|
|
- public MonitorVideoSourceEnum getSource() {
|
|
|
- return source;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSource(MonitorVideoSourceEnum source) {
|
|
|
- this.source = source;
|
|
|
- }
|
|
|
-
|
|
|
- public String getLiveUrl() {
|
|
|
- return liveUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public void setLiveUrl(String liveUrl) {
|
|
|
- this.liveUrl = liveUrl;
|
|
|
- }
|
|
|
-
|
|
|
- public MonitorStatusSourceEnum getStatus() {
|
|
|
- return status;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStatus(MonitorStatusSourceEnum status) {
|
|
|
- this.status = status;
|
|
|
}
|
|
|
|
|
|
public String getRemark() {
|
|
@@ -110,28 +49,4 @@ public class TIeExamInvigilateCallLog extends BaseEntity {
|
|
|
public void setRemark(String remark) {
|
|
|
this.remark = remark;
|
|
|
}
|
|
|
-
|
|
|
- public Long getExamId() {
|
|
|
- return examId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setExamId(Long examId) {
|
|
|
- this.examId = examId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getExamActivityId() {
|
|
|
- return examActivityId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setExamActivityId(Long examActivityId) {
|
|
|
- this.examActivityId = examActivityId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getExamStudentId() {
|
|
|
- return examStudentId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setExamStudentId(Long examStudentId) {
|
|
|
- this.examStudentId = examStudentId;
|
|
|
- }
|
|
|
}
|