From 8dac3a3c993ef006d4765624e046577217d1a898 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 28 十一月 2023 21:27:09 +0800 Subject: [PATCH] 随机案件时间段 --- src/main/java/com/mindskip/xzs/domain/ExamTemplates.java | 43 ++++++++++++++++++++++++++++++------------- 1 files changed, 30 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/domain/ExamTemplates.java b/src/main/java/com/mindskip/xzs/domain/ExamTemplates.java index 972ca28..0424a39 100644 --- a/src/main/java/com/mindskip/xzs/domain/ExamTemplates.java +++ b/src/main/java/com/mindskip/xzs/domain/ExamTemplates.java @@ -1,7 +1,9 @@ package com.mindskip.xzs.domain; import java.io.Serializable; +import java.time.LocalDateTime; import java.util.Date; +import java.util.List; public class ExamTemplates implements Serializable { @@ -13,6 +15,33 @@ private Date ctime; private String status; private String menuIds; + private List<String> limitDateTime; + private LocalDateTime startTime; + private LocalDateTime endTime; + + public LocalDateTime getStartTime() { + return startTime; + } + + public void setStartTime(LocalDateTime startTime) { + this.startTime = startTime; + } + + public LocalDateTime getEndTime() { + return endTime; + } + + public void setEndTime(LocalDateTime endTime) { + this.endTime = endTime; + } + + public List<String> getLimitDateTime() { + return limitDateTime; + } + + public void setLimitDateTime(List<String> limitDateTime) { + this.limitDateTime = limitDateTime; + } public Integer getId() { return id; @@ -78,17 +107,5 @@ this.menuIds = menuIds; } - @Override - public String toString() { - return "ExamTemplates{" + - "id=" + id + - ", name='" + name + '\'' + - ", paperType='" + paperType + '\'' + - ", suggestTime='" + suggestTime + '\'' + - ", titleName='" + titleName + '\'' + - ", ctime='" + ctime + '\'' + - ", status='" + status + '\'' + - ", menuIds='" + menuIds + '\'' + - '}'; - } + } -- Gitblit v1.8.0