BLasan commented on code in PR #2657:
URL: https://github.com/apache/fineract/pull/2657#discussion_r996254641


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/sms/data/SmsData.java:
##########
@@ -18,75 +18,33 @@
  */
 package org.apache.fineract.infrastructure.sms.data;
 
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.Accessors;
 import org.apache.fineract.infrastructure.core.data.EnumOptionData;
 
 /**
  * Immutable data object representing a SMS message.
  */
+
+@Data
+@NoArgsConstructor
+@Accessors(chain = true)
 public final class SmsData {
 
-    private final Long id;
-    private final Long groupId;
-    private final Long clientId;
-    private final Long staffId;
-    private final EnumOptionData status;
-    private final String mobileNo;
-    private final String message;
-    private final Long providerId;
-    private final String campaignName;
+    private Long id;

Review Comment:
   Why not using `@RequiredArgsConstructor` instead ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to