package com.dlsu.getbetter.getbetter.objects;

import java.util.ArrayList;

/**
 * Created by mikedayupay on 25/02/2016.
 */
public class CaseRecord {

    private int caseRecordId;
    private String caseRecordComplaint;
    private String caseRecordControlNumber;
    private String caseRecordStatus;
    private String caseRecordUpdatedOn;
    private String caseRecordUpdatedBy;
    private boolean checked = false;

    private ArrayList<Attachment> caseRecordAttachments;

    public CaseRecord(int caseRecordId, String caseRecordComplaint, String caseRecordControlNumber, String caseRecordStatus) {
        this.caseRecordId = caseRecordId;
        this.caseRecordComplaint = caseRecordComplaint;
        this.caseRecordControlNumber = caseRecordControlNumber;
        this.caseRecordStatus = caseRecordStatus;
    }

    public CaseRecord(int caseRecordId, String caseRecordComplaint, String caseRecordControlNumber) {
        this.caseRecordId = caseRecordId;
        this.caseRecordComplaint = caseRecordComplaint;
        this.caseRecordControlNumber = caseRecordControlNumber;
    }

    public void setCaseRecordAttachments(ArrayList<Attachment> caseRecordAttachments) {
        this.caseRecordAttachments = caseRecordAttachments;
    }

    public void setCaseRecordStatus(String caseRecordStatus) {
        this.caseRecordStatus = caseRecordStatus;
    }

    public void setCaseRecordId(int caseRecordId) {
        this.caseRecordId = caseRecordId;
    }

    public void setCaseRecordComplaint(String caseRecordComplaint) {
        this.caseRecordComplaint = caseRecordComplaint;
    }

    public void setCaseRecordControlNumber(String caseRecordControlNumber) {
        this.caseRecordControlNumber = caseRecordControlNumber;
    }

    public String getCaseRecordUpdatedOn() {
        return caseRecordUpdatedOn;
    }

    public void setCaseRecordUpdatedOn(String caseRecordUpdatedOn) {
        this.caseRecordUpdatedOn = caseRecordUpdatedOn;
    }

    public String getCaseRecordUpdatedBy() {
        return caseRecordUpdatedBy;
    }

    public void setCaseRecordUpdatedBy(String caseRecordUpdatedBy) {
        this.caseRecordUpdatedBy = caseRecordUpdatedBy;
    }

    public ArrayList<Attachment> getCaseRecordAttachments() {
        return caseRecordAttachments;
    }

    public int getCaseRecordId() {
        return caseRecordId;
    }

    public String getCaseRecordComplaint() {
        return caseRecordComplaint;
    }

    public String getCaseRecordControlNumber() {
        return caseRecordControlNumber;
    }

    public String getCaseRecordStatus() {
        return caseRecordStatus;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public void toggleChecked() {
        checked = !checked;
    }
}

@@ -171,24 +171,60 @@
 seRecordId;%0A
+    private int caseRecordStatusId;%0A
     private 
@@ -376,38 +376,35 @@
 On;%0A    private 
-Str
 in
-g
+t
  caseRecordUpdat
@@ -1490,32 +1490,240 @@
 ecordId;%0A    %7D%0A%0A
+    public int getCaseRecordStatusId() %7B%0A        return caseRecordStatusId;%0A    %7D%0A%0A    public void setCaseRecordStatusId(int caseRecordStatusId) %7B%0A        this.caseRecordStatusId = caseRecordStatusId;%0A    %7D%0A%0A
     public void 
@@ -2209,38 +2209,35 @@
   %7D%0A%0A    public 
-Str
 in
-g
+t
  getCaseRecordUp
@@ -2330,22 +2330,19 @@
 datedBy(
-Str
 in
-g
+t
  caseRec

Change data type for field caseRecordUpdatedBy