Amendment document changes

This commit is contained in:
rajesh
2024-12-18 15:58:17 +05:30
parent 94086428e8
commit 47f67975c1
8 changed files with 167 additions and 80 deletions

View File

@@ -1,8 +1,6 @@
package net.gepafin.tendermanagement.model.request;
import lombok.Data;
import net.gepafin.tendermanagement.model.response.AmendmentDocumentResponse;
import net.gepafin.tendermanagement.model.response.FieldResponse;
import java.util.List;
@@ -11,7 +9,9 @@ public class AmendmentDetailsRequest {
Long amendmentId;
List<AmendmentFieldRequest> amendmentDocuments;
String amendmentDocuments;
Boolean valid;
List<AmendmentFormFieldRequest> formFieldDocuments;
}

View File

@@ -8,5 +8,6 @@ import lombok.Data;
public class ApplicationAmendmentRequestBean {
private String note;
private List<AmendmentFormFieldRequest> applicationFormFields;
private List<AmendmentFieldRequest> amendmentDocuments;
private String amendmentDocuments;
private String amendmentNotes;
}

View File

@@ -0,0 +1,12 @@
package net.gepafin.tendermanagement.model.response;
import lombok.Data;
import java.util.List;
@Data
public class AmendmentDetailsResponseBean {
private String amendmentDocuments;
private String amendmentNotes;
private Boolean valid;
}

View File

@@ -1,14 +0,0 @@
package net.gepafin.tendermanagement.model.response;
import lombok.Data;
import java.util.List;
@Data
public class AmendmentDocumentResponse {
private String fieldId;
private String nameValue;
private List<DocumentResponseBean> fileValue;
private Boolean valid = false;
}

View File

@@ -9,7 +9,11 @@ public class AmendmentDocumentResponseBean {
Long amendmentId;
List<AmendmentDocumentResponse> amendmentDocuments;
List<DocumentResponseBean> amendmentDocuments;
Boolean valid;
String amendmentNotes;
List<FieldResponse> formFieldDocuments;
}

View File

@@ -21,7 +21,9 @@ public class ApplicationAmendmentRequestResponse {
private String beneficiaryName;
private List<AmendmentFormFieldResponse> formFields;
private List<ApplicationFormFieldResponseBean> applicationFormFields;
private List<AmendmentDocumentResponse> amendmentDocuments;
private List<DocumentResponseBean> amendmentDocuments;
private String amendmentNotes;
private Boolean valid;
private Long applicationId;
private Long applicationEvaluationId;
private LocalDateTime evaluationEndDate;