150 lines
3.1 KiB
Plaintext
150 lines
3.1 KiB
Plaintext
package com.healthcare.ohctech.entity;
|
|
|
|
import jakarta.persistence.*;
|
|
import org.hibernate.annotations.UpdateTimestamp;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
@Entity
|
|
@Table(name = "checkup_form_section")
|
|
public class CheckupFormSection {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@Column(name = "section_id")
|
|
private Long id;
|
|
|
|
@Column(name = "section_name")
|
|
private String sectionName;
|
|
|
|
@Column(name = "section_desc")
|
|
private String sectionDesc;
|
|
|
|
// @ManyToOne
|
|
// @JoinColumn(name = "product_id")
|
|
// private Product product;
|
|
|
|
@Column(name = "Status")
|
|
private String status = "Inactive";
|
|
|
|
@Column(name = "last_modified")
|
|
@UpdateTimestamp
|
|
private LocalDateTime lastModified;
|
|
|
|
@Column(name = "modified_by")
|
|
private Long modifiedBy;
|
|
|
|
@Column(name = "rule_ids")
|
|
private String ruleIds;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name = "interpretation")
|
|
private InterpretationMaster interpretationMaster;
|
|
@Column(name = "notes")
|
|
private String notes;
|
|
|
|
@Column(name = "comments")
|
|
private String comments;
|
|
|
|
@Column(name = "display_order")
|
|
private Integer displayOrder;
|
|
|
|
// Getters and Setters
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getSectionName() {
|
|
return sectionName;
|
|
}
|
|
|
|
public void setSectionName(String sectionName) {
|
|
this.sectionName = sectionName;
|
|
}
|
|
|
|
public String getSectionDesc() {
|
|
return sectionDesc;
|
|
}
|
|
|
|
public void setSectionDesc(String sectionDesc) {
|
|
this.sectionDesc = sectionDesc;
|
|
}
|
|
|
|
// public Product getProduct() {
|
|
// return product;
|
|
// }
|
|
//
|
|
// public void setProduct(Product product) {
|
|
// this.product = product;
|
|
// }
|
|
|
|
public String getStatus() {
|
|
return status;
|
|
}
|
|
|
|
public void setStatus(String status) {
|
|
this.status = status;
|
|
}
|
|
|
|
public LocalDateTime getLastModified() {
|
|
return lastModified;
|
|
}
|
|
|
|
public void setLastModified(LocalDateTime lastModified) {
|
|
this.lastModified = lastModified;
|
|
}
|
|
|
|
public Long getModifiedBy() {
|
|
return modifiedBy;
|
|
}
|
|
|
|
public void setModifiedBy(Long modifiedBy) {
|
|
this.modifiedBy = modifiedBy;
|
|
}
|
|
|
|
public String getRuleIds() {
|
|
return ruleIds;
|
|
}
|
|
|
|
public void setRuleIds(String ruleIds) {
|
|
this.ruleIds = ruleIds;
|
|
}
|
|
|
|
public InterpretationMaster getInterpretationMaster() {
|
|
return interpretationMaster;
|
|
}
|
|
|
|
public void setInterpretationMaster(InterpretationMaster interpretationMaster) {
|
|
this.interpretationMaster = interpretationMaster;
|
|
}
|
|
|
|
public String getNotes() {
|
|
return notes;
|
|
}
|
|
|
|
public void setNotes(String notes) {
|
|
this.notes = notes;
|
|
}
|
|
|
|
public String getComments() {
|
|
return comments;
|
|
}
|
|
|
|
public void setComments(String comments) {
|
|
this.comments = comments;
|
|
}
|
|
|
|
public Integer getDisplayOrder() {
|
|
return displayOrder;
|
|
}
|
|
|
|
public void setDisplayOrder(Integer displayOrder) {
|
|
this.displayOrder = displayOrder;
|
|
}
|
|
}
|