package kr.co.hanwha.hifive.data.model;

import java.util.ArrayList;

/**
 * Created by sanghoonkwon on 2018. 3. 15..
 */

public class DabProjectData {
    int track_id;

    String track_name;

    /**
     * 40
     */
    int project_id;
    /**
     * "우주최강개발"
     */
    String project_name;
    /**
     * 220
     */
    int evaluation;

    /**
     * 50
     */
    int project_avg_achieve_rate;

    ArrayList<DabMemberData> listCaptains;

    ArrayList<DabMemberData> listMembers;

    public int getMemberCount() {
        int count = 0;
        if (listCaptains != null)count += listCaptains.size();
        if (listMembers != null) count += listMembers.size();
        return count;
    }

    public int getTrack_id() {
        return track_id;
    }

    public String getTrack_name() {
        return track_name;
    }

    public int getProject_id() {
        return project_id;
    }

    public String getProject_name() {
        return project_name;
    }

    public int getEvaluation() {
        return evaluation;
    }

    public int getProject_avg_achieve_rate() {
        return project_avg_achieve_rate;
    }

    public ArrayList<DabMemberData> getListCaptains() {
        return listCaptains;
    }

    public ArrayList<DabMemberData> getListMembers() {
        return listMembers;
    }
}
/*
 {
    "track_id": 4,
    "track_name": "Lifeplus",
    "project_id": 40,
    "project_name": "우주최강개발",
    "evaluation": 220,
    "listCaptains": [],
    "listMembers": [],
}
*/