106 lines
2.2 KiB
Plaintext
106 lines
2.2 KiB
Plaintext
package com.healthcare.ohctech.entity;
|
|
|
|
import jakarta.persistence.*;
|
|
import org.hibernate.annotations.UpdateTimestamp;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
@Entity
|
|
@Table(name = "employee_appointment_vitals")
|
|
public class EmployeeAppointmentVitals {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@Column(name = "key_id")
|
|
private Long id;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "appointment_id" , referencedColumnName = "appointment_id")
|
|
private EmployeeAppointment employeeAppointment;
|
|
|
|
@Column(name = "followup_id")
|
|
private Long followupId;
|
|
|
|
@Column(name = "param_key")
|
|
private String paramKey;
|
|
|
|
@Column(name = "param_value")
|
|
private String paramValue;
|
|
|
|
@Column(name = "color")
|
|
private String color;
|
|
|
|
@Column(name = "modified_by")
|
|
private Long modifiedBy;
|
|
|
|
@UpdateTimestamp
|
|
@Column(name = "last_modified")
|
|
private LocalDateTime lastModified;
|
|
|
|
// Getters and Setters
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public EmployeeAppointment getEmployeeAppointment() {
|
|
return employeeAppointment;
|
|
}
|
|
|
|
public void setEmployeeAppointment(EmployeeAppointment employeeAppointment) {
|
|
this.employeeAppointment = employeeAppointment;
|
|
}
|
|
|
|
public Long getFollowupId() {
|
|
return followupId;
|
|
}
|
|
|
|
public void setFollowupId(Long followupId) {
|
|
this.followupId = followupId;
|
|
}
|
|
|
|
public String getParamKey() {
|
|
return paramKey;
|
|
}
|
|
|
|
public void setParamKey(String paramKey) {
|
|
this.paramKey = paramKey;
|
|
}
|
|
|
|
public String getParamValue() {
|
|
return paramValue;
|
|
}
|
|
|
|
public void setParamValue(String paramValue) {
|
|
this.paramValue = paramValue;
|
|
}
|
|
|
|
public String getColor() {
|
|
return color;
|
|
}
|
|
|
|
public void setColor(String color) {
|
|
this.color = color;
|
|
}
|
|
|
|
public Long getModifiedBy() {
|
|
return modifiedBy;
|
|
}
|
|
|
|
public void setModifiedBy(Long modifiedBy) {
|
|
this.modifiedBy = modifiedBy;
|
|
}
|
|
|
|
public LocalDateTime getLastModified() {
|
|
return lastModified;
|
|
}
|
|
|
|
public void setLastModified(LocalDateTime lastModified) {
|
|
this.lastModified = lastModified;
|
|
}
|
|
}
|