|
@ -0,0 +1,135 @@
|
|
|
package com.yihu.jw.entity.health.bank;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yihu.jw.IdEntity;
|
|
|
import com.yihu.jw.IdEntityWithOperation;
|
|
|
import org.springframework.data.annotation.CreatedDate;
|
|
|
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.EntityListeners;
|
|
|
import javax.persistence.Table;
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* Created by 刘文彬 on 2018/6/12.
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "wlyy_health_bank_active_record")
|
|
|
@EntityListeners(AuditingEntityListener.class)
|
|
|
public class ActiveRecordDO extends IdEntity implements Serializable {
|
|
|
private String saasId; //saasId
|
|
|
private String taskId; //wlyy_health_bank_task任务表的id
|
|
|
private String taskTitle;//任务标题
|
|
|
private String activityId;//wlyy_health_bank_activity表的id
|
|
|
private String activityTitle;//活动标题
|
|
|
private Integer originalStatus;//原先状态
|
|
|
private Integer currentStatus;//当前状态
|
|
|
private String patientId;//居民code
|
|
|
private String patientName;//居民名称
|
|
|
private Integer teamId;//wlyy_admin_team医生行政团队的id
|
|
|
private Date createTime;
|
|
|
|
|
|
@Column(name = "saas_id")
|
|
|
public String getSaasId() {
|
|
|
return saasId;
|
|
|
}
|
|
|
|
|
|
public void setSaasId(String saasId) {
|
|
|
this.saasId = saasId;
|
|
|
}
|
|
|
|
|
|
@Column(name = "task_id")
|
|
|
public String getTaskId() {
|
|
|
return taskId;
|
|
|
}
|
|
|
|
|
|
public void setTaskId(String taskId) {
|
|
|
this.taskId = taskId;
|
|
|
}
|
|
|
|
|
|
@Column(name = "task_title")
|
|
|
public String getTaskTitle() {
|
|
|
return taskTitle;
|
|
|
}
|
|
|
|
|
|
public void setTaskTitle(String taskTitle) {
|
|
|
this.taskTitle = taskTitle;
|
|
|
}
|
|
|
|
|
|
@Column(name = "activity_id")
|
|
|
public String getActivityId() {
|
|
|
return activityId;
|
|
|
}
|
|
|
|
|
|
public void setActivityId(String activityId) {
|
|
|
this.activityId = activityId;
|
|
|
}
|
|
|
|
|
|
@Column(name = "activity_title")
|
|
|
public String getActivityTitle() {
|
|
|
return activityTitle;
|
|
|
}
|
|
|
|
|
|
public void setActivityTitle(String activityTitle) {
|
|
|
this.activityTitle = activityTitle;
|
|
|
}
|
|
|
|
|
|
@Column(name = "original_status")
|
|
|
public Integer getOriginalStatus() {
|
|
|
return originalStatus;
|
|
|
}
|
|
|
|
|
|
public void setOriginalStatus(Integer originalStatus) {
|
|
|
this.originalStatus = originalStatus;
|
|
|
}
|
|
|
|
|
|
@Column(name = "current_status")
|
|
|
public Integer getCurrentStatus() {
|
|
|
return currentStatus;
|
|
|
}
|
|
|
|
|
|
public void setCurrentStatus(Integer currentStatus) {
|
|
|
this.currentStatus = currentStatus;
|
|
|
}
|
|
|
|
|
|
@Column(name = "patient_id")
|
|
|
public String getPatientId() {
|
|
|
return patientId;
|
|
|
}
|
|
|
|
|
|
public void setPatientId(String patientId) {
|
|
|
this.patientId = patientId;
|
|
|
}
|
|
|
|
|
|
@Column(name = "patient_name")
|
|
|
public String getPatientName() {
|
|
|
return patientName;
|
|
|
}
|
|
|
|
|
|
public void setPatientName(String patientName) {
|
|
|
this.patientName = patientName;
|
|
|
}
|
|
|
|
|
|
@Column(name = "team_id")
|
|
|
public Integer getTeamId() {
|
|
|
return teamId;
|
|
|
}
|
|
|
|
|
|
public void setTeamId(Integer teamId) {
|
|
|
this.teamId = teamId;
|
|
|
}
|
|
|
|
|
|
@CreatedDate
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
|
|
|
@Column(name = "create_time", nullable = true, length = 0,updatable = false)
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|
|
|
|
|
|
public void setCreateTime(Date createTime) {
|
|
|
this.createTime = createTime;
|
|
|
}
|
|
|
}
|