From 24a1ed07608028ca1b0021aee3dff79ca20c6ba4 Mon Sep 17 00:00:00 2001 From: Abhishek Kachhwaha Date: Mon, 23 Dec 2019 13:52:23 +0530 Subject: [PATCH] Update ComplaintData.java --- ComplaintData.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ComplaintData.java b/ComplaintData.java index 7faa475..978cf3d 100644 --- a/ComplaintData.java +++ b/ComplaintData.java @@ -7,13 +7,15 @@ public class ComplaintData { private String date; private String upVote; private String status; + private String complaintId; - public ComplaintData(String title, String description, String date, String upVote, String status) { + public ComplaintData(String title, String description, String date, String upVote, String status, String complainId) { this.title = title; this.description = description; this.date = date; this.upVote = upVote; this.status = status; + this.complaintId = complaintId; } String getTitle() { @@ -35,7 +37,9 @@ String getUpVote() { String getStatus() { return status; } - - + + String getComplainId(){ + return complaintId; + } }