|
@@ -2,17 +2,14 @@ package cn.com.qmth.examcloud.service.examwork.entity;
|
|
|
|
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
-import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.IdClass;
|
|
import javax.persistence.IdClass;
|
|
import javax.persistence.Table;
|
|
import javax.persistence.Table;
|
|
-import javax.persistence.Temporal;
|
|
|
|
-import javax.persistence.TemporalType;
|
|
|
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
-import cn.com.qmth.examcloud.commons.web.cloud.api.JsonSerializable;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.commons.web.jpa.JpaEntity;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 类注释
|
|
* 类注释
|
|
@@ -24,7 +21,7 @@ import cn.com.qmth.examcloud.commons.web.cloud.api.JsonSerializable;
|
|
@Entity
|
|
@Entity
|
|
@Table(name = "ecs_e_exam_4_org")
|
|
@Table(name = "ecs_e_exam_4_org")
|
|
@IdClass(ExamSetting4OrgPK.class)
|
|
@IdClass(ExamSetting4OrgPK.class)
|
|
-public class ExamSetting4Org implements JsonSerializable {
|
|
|
|
|
|
+public class ExamSetting4Org extends JpaEntity {
|
|
|
|
|
|
private static final long serialVersionUID = -3335725218626631530L;
|
|
private static final long serialVersionUID = -3335725218626631530L;
|
|
|
|
|
|
@@ -46,14 +43,6 @@ public class ExamSetting4Org implements JsonSerializable {
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date endTime;
|
|
private Date endTime;
|
|
|
|
|
|
- /**
|
|
|
|
- * 更新时间
|
|
|
|
- */
|
|
|
|
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
- @Column(nullable = false)
|
|
|
|
- @Temporal(TemporalType.TIMESTAMP)
|
|
|
|
- private Date updateTime;
|
|
|
|
-
|
|
|
|
public Long getExamId() {
|
|
public Long getExamId() {
|
|
return examId;
|
|
return examId;
|
|
}
|
|
}
|