|
@ -1,6 +1,7 @@
|
|
package com.yihu.jw.entity.specialist.rehabilitation;
|
|
package com.yihu.jw.entity.specialist.rehabilitation;
|
|
|
|
|
|
import com.yihu.jw.entity.IdEntity;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
import com.yihu.jw.entity.UuidIdentityEntity;
|
|
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Table;
|
|
import javax.persistence.Table;
|
|
@ -12,7 +13,8 @@ import java.util.Date;
|
|
*/
|
|
*/
|
|
@Entity
|
|
@Entity
|
|
@Table(name = "template_json")
|
|
@Table(name = "template_json")
|
|
public class TemplateJson extends IdEntity {
|
|
|
|
|
|
public class TemplateJson extends UuidIdentityEntity {
|
|
|
|
|
|
private String templateId;
|
|
private String templateId;
|
|
private String templateName;
|
|
private String templateName;
|
|
private String templateJson;
|
|
private String templateJson;
|
|
@ -43,6 +45,7 @@ public class TemplateJson extends IdEntity {
|
|
this.templateJson = templateJson;
|
|
this.templateJson = templateJson;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
public Date getCreateTime() {
|
|
public Date getCreateTime() {
|
|
return createTime;
|
|
return createTime;
|
|
}
|
|
}
|
|
@ -58,4 +61,5 @@ public class TemplateJson extends IdEntity {
|
|
public void setCreateUser(String createUser) {
|
|
public void setCreateUser(String createUser) {
|
|
this.createUser = createUser;
|
|
this.createUser = createUser;
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|