content: /**
   *    Copyright 2016 Sven Loesekann
  
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
         http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
   */
  package ch.xxx.carrental.ui.dto;
  
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlElement;
  import javax.xml.bind.annotation.XmlRootElement;
  
  @XmlRootElement(name="CrMessage")
  @XmlAccessorType(XmlAccessType.FIELD)
  public class CrMessage {
  	@XmlElement(required=false)
  	private Long id;
  	@XmlElement(required=false)
  	private String msgType;
  	@XmlElement(required=false)
  	private String msg;
  	
  	public CrMessage() {
  		
  	}
  	
  	public CrMessage(Long id, String type, String msg) {
  		super();
  		this.id = id;
  		this.msgType = type;
  		this.msg = msg;
  	}
  
  	public Long getId() {
  		return id;
  	}
  	public void setId(Long id) {
  		this.id = id;
  	}	
  	public String getMsg() {
  		return msg;
  	}
  	public void setMsg(String msg) {
  		this.msg = msg;
  	}
  
  	public String getMsgType() {
  		return msgType;
  	}
  
  	public void setMsgType(String msgType) {
  		this.msgType = msgType;
  	}
  	
  }
  