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

import java.util.ArrayList;

/**
 * 프로젝트별 캠페인 정보
 * Created by sanghoonkwon on 2018. 2. 21..
 */

public class ProjectCampaignData extends CampaignData {
    public ProjectCampaignData() {
    }

    public ProjectCampaignData(CampaignData campaignData) {
        this.campaign_id = campaignData.campaign_id;
        this.campaign_desc = campaignData.campaign_desc;
        this.campaign_due_to = campaignData.campaign_due_to;
        this.project_id = campaignData.project_id;
        this.project_name = campaignData.project_name;
        this.isFirstItem = campaignData.isFirstItem;

    }

    public String getKey() {
        return project_id + "_" + campaign_id;
    }
}
/*
2018.3.14
{
 "project_id": 40,
 "project_name": "우주최강개발",
 "campaign_id": 2,
 "campaign_desc": "이건 기간설정이 없어요..",
 "campaign_due_to": "2018-02-14 00:00:00.0",
 "task_id": 0,
 "task_desc": "",
 "task_due_to": "",
 "member_id": 0,
 "member_name": "",
 "is_open_task": null
 }
*/