feat: fixing request for information

This commit is contained in:
hanif salafi 2024-07-03 09:13:08 +07:00
parent f491e2e9b0
commit 2db60b7cf1
1 changed files with 10 additions and 10 deletions

View File

@ -8,16 +8,16 @@ import (
func RequestForInformationObjectionResponseMapper(requestForInformationObjectionReq *entity.RequestForInformationObjection) (requestForInformationObjectionRes *res.RequestForInformationObjectionResponse) {
if requestForInformationObjectionReq != nil {
requestForInformationObjectionRes = &res.RequestForInformationObjectionResponse{
ID: requestForInformationObjectionReq.ID,
RequestForInformationId: requestForInformationObjectionReq.RequestForInformationId,
DocumentName: requestForInformationObjectionReq.DocumentName,
MainReason: requestForInformationObjectionReq.MainReason,
SecondaryReason: requestForInformationObjectionReq.SecondaryReason,
CreatedById: requestForInformationObjectionReq.CreatedById,
StatusId: requestForInformationObjectionReq.StatusId,
IsActive: requestForInformationObjectionReq.IsActive,
CreatedAt: requestForInformationObjectionReq.CreatedAt,
UpdatedAt: requestForInformationObjectionReq.UpdatedAt,
ID: requestForInformationObjectionReq.ID,
RequestForInformationItemId: requestForInformationObjectionReq.RequestForInformationItemId,
DocumentName: requestForInformationObjectionReq.DocumentName,
MainReason: requestForInformationObjectionReq.MainReason,
SecondaryReason: requestForInformationObjectionReq.SecondaryReason,
CreatedById: requestForInformationObjectionReq.CreatedById,
StatusId: requestForInformationObjectionReq.StatusId,
IsActive: requestForInformationObjectionReq.IsActive,
CreatedAt: requestForInformationObjectionReq.CreatedAt,
UpdatedAt: requestForInformationObjectionReq.UpdatedAt,
}
}
return requestForInformationObjectionRes