87 lines
1.9 KiB
Plaintext
87 lines
1.9 KiB
Plaintext
package com.healthcare.ohctech.entity;
|
|
|
|
import jakarta.persistence.*;
|
|
import jakarta.validation.constraints.NotBlank;
|
|
import org.hibernate.annotations.UpdateTimestamp;
|
|
|
|
import java.time.LocalDateTime;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import java.util.stream.Collectors;
|
|
|
|
@Entity
|
|
@Table(name = "business_reports_filter_master")
|
|
public class BusinessReportsFilterMaster {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@Column(name = "business_reports_filter_master_id")
|
|
private Long id;
|
|
|
|
@ManyToOne
|
|
@JoinColumn(name="report_id")
|
|
private ReportMaster reportMaster;
|
|
|
|
@Column(name = "filter_ids")
|
|
private String filterIds;
|
|
|
|
@Column(name = "is_patient_specific")
|
|
private String isPatientSpecific;
|
|
|
|
@Column(name = "modified_by")
|
|
private Long modifiedBy;
|
|
|
|
@Column(name = "last_modified")
|
|
@UpdateTimestamp
|
|
private LocalDateTime lastModified;
|
|
|
|
// Getters and Setters
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public ReportMaster getReportMaster() {
|
|
return reportMaster;
|
|
}
|
|
|
|
public void setReportMaster(ReportMaster reportMaster) {
|
|
this.reportMaster = reportMaster;
|
|
}
|
|
|
|
public String getFilterIds() {
|
|
return filterIds;
|
|
}
|
|
|
|
public void setFilterIds(String filterIds) {
|
|
this.filterIds = filterIds;
|
|
}
|
|
|
|
public String getIsPatientSpecific() {
|
|
return isPatientSpecific;
|
|
}
|
|
|
|
public void setIsPatientSpecific(String isPatientSpecific) {
|
|
this.isPatientSpecific = isPatientSpecific;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|