update complaint
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
package com.billpaymentservice.bbps.entites;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.billpaymentservice.bbps.audit.Auditable;
|
||||
|
||||
import jakarta.persistence.CascadeType;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.OneToMany;
|
||||
import jakarta.persistence.Table;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
@@ -68,4 +72,16 @@ public class ComplaintResponseEntity extends Auditable<String> {
|
||||
@Column(name = "user_id")
|
||||
private String userId;
|
||||
|
||||
@OneToMany(mappedBy = "complaintResponse", cascade = CascadeType.ALL, orphanRemoval = false)
|
||||
private List<ComplainStatus> complaintStatusList;
|
||||
|
||||
@OneToMany(mappedBy = "complaintResponse", cascade = CascadeType.ALL, orphanRemoval = false)
|
||||
private List<ComplaintHistory> historyList;
|
||||
|
||||
@OneToMany(mappedBy = "complaintResponse", cascade = CascadeType.ALL, orphanRemoval = false)
|
||||
private List<ComplaintStatusDetails> statusDetailsList;
|
||||
|
||||
@OneToMany(mappedBy = "complaintResponse", cascade = CascadeType.ALL, orphanRemoval = false)
|
||||
private List<ViewAllComplaintTicketStatusDetails> viewAllList;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user