package com.yosta.android_mycontacts.models;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Phuc-Hau Nguyen on 1/11/2017.
 */

public class Contacts implements Serializable {
    private List<Contact> contactList = new ArrayList<>();

    public Contacts() {
    }

    public Contacts(List<Contact> contactList) {
        this.contactList = contactList;
    }

    public List<Contact> getContactList() {
        return contactList;
    }

    public void setContactList(List<Contact> contactList) {
        this.contactList = contactList;
    }
    public int size(){
        return contactList.size();
    }
}
