|
@@ -1,4 +1,4 @@
|
|
|
-package cn.com.qmth.examcloud.service.core.dao;
|
|
|
+package cn.com.qmth.examcloud.service.core.entity;
|
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
@@ -11,7 +11,7 @@ import java.util.Date;
|
|
|
* Created by songyue on 17/1/13.
|
|
|
*/
|
|
|
@Entity
|
|
|
-@Table(name = "ecs_org")
|
|
|
+@Table(name = "ecs_core_org")
|
|
|
public class Org implements Serializable{
|
|
|
|
|
|
private static final long serialVersionUID = -592353272256492483L;
|
|
@@ -39,17 +39,14 @@ public class Org implements Serializable{
|
|
|
private String apps;
|
|
|
|
|
|
@NotNull
|
|
|
- @Column(columnDefinition = "default 1")
|
|
|
private Boolean enable;
|
|
|
|
|
|
@Temporal(value = TemporalType.DATE)
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Column(columnDefinition = "default now()")
|
|
|
private Date createTime;
|
|
|
|
|
|
@Temporal(value = TemporalType.DATE)
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
- @Column(columnDefinition = "default now()",updatable = true,insertable = false)
|
|
|
private Date updateTime;
|
|
|
|
|
|
public static long getSerialVersionUID() {
|