package webchurch.push.model;

import webchurch.push.util.PushName;

public class PushDTO {
	private String board_type;
	private String board_idx;
	private String link;
	private String msg;
	private String title;
	private String communityId;
	private String apiKey;
	private String deviceId;
	private String type;
	
	public PushDTO(){
	}
	
	public PushDTO(String board, String idx, String link, String msg,
			String title, String communityId, String type) {
		super();
		this.board_type = board;
		this.board_idx = idx;
		this.link = link;
		this.msg = msg;
		this.title = title;
		this.communityId = communityId;
		this.type = type;
	}

	

	public String getBoard_type() {
		return board_type;
	}

	public void setBoard_type(String board_type) {
		this.board_type = board_type;
	}

	public String getBoard_idx() {
		return board_idx;
	}

	public void setBoard_idx(String board_idx) {
		this.board_idx = board_idx;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCommunityId() {
		return communityId;
	}

	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}

	public String getApiKey() {
		return apiKey;
	}

	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		StringBuffer sb = new StringBuffer("Initialize Values<br>");
		sb.append(PushName.CID + " = " + this.communityId + "<br>");
		sb.append(PushName.TITLE + " = " + this.title + "<br>");
		sb.append(PushName.LINK + " = " + this.link + "<br>");
		sb.append(PushName.MSG + " = " + this.msg + "<br>");
		sb.append(PushName.API_KEY + " = " + this.apiKey + "<br>");
		sb.append(PushName.BOARD + " = " + this.board_type + "<br>");
		sb.append(PushName.IDX + " = " + this.board_idx + "<br>");
		sb.append(PushName.TYPE + " = " + this.type + "<br>");
		sb.append("devieceId = " + this.deviceId + "<br>");
		sb.append("Initialized");
		return sb.toString();
	}	
	
	
}
