Updated Code
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
package net.gepafin.tendermanagement.entities;
|
||||
|
||||
import jakarta.persistence.CascadeType;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.ElementCollection;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.OneToMany;
|
||||
import jakarta.persistence.Table;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Entity
|
||||
@Table(name = "application_amendment_request")
|
||||
@Data
|
||||
public class ApplicationAmendmentRequestEntity extends BaseEntity {
|
||||
|
||||
@Column(name = "NOTE")
|
||||
private String note;
|
||||
|
||||
@Column(name = "RESPONSE_DAYS")
|
||||
private Long responseDays;
|
||||
|
||||
@Column(name = "IS_NOTIFICATION")
|
||||
private Boolean isNotification;
|
||||
|
||||
@Column(name = "IS_EMAIL")
|
||||
private Boolean isEmail;
|
||||
|
||||
@ElementCollection
|
||||
@Column(name = "FIELD_ID")
|
||||
private List<String> fieldId;
|
||||
|
||||
@OneToMany(mappedBy = "amendmentRequest", cascade = CascadeType.ALL)
|
||||
private List<CommunicationAmendmentEntity> communicationAmendmentEntities;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user