package com.ejie.aa20b.model;


import com.ejie.x38.serialization.JsonDateDeserializer;
import com.ejie.x38.serialization.JsonDateSerializer;
import java.util.Date;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * Departamentos generated by UDA, 28-nov-2014 11:32:15.
 * @author UDA
 */

public class Departamentos  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
            private Long iddepar;
            private String cdepar;
            private String edepar;
            private String baja;
            private Date feini;
            private String cidepar;

	/** 
	 * Method 'Departamentos'.
	 */
    public Departamentos() {
    }

    /** 
     * Method 'Departamentos'.
     * @param iddepar Long
     * @param cdepar String
     * @param edepar String
     * @param baja String
     * @param feini Date
     * @param cidepar String
     */
   public Departamentos(Long iddepar, String cdepar, String edepar, String baja, Date feini, String cidepar) {	

           this.iddepar = iddepar;
           this.cdepar = cdepar;
           this.edepar = edepar;
           this.baja = baja;
           this.feini = feini;
           this.cidepar = cidepar;
    }

    /**
	 * Method 'getIddepar'.
	 *
	 * @return Long
	 */
	
	
	public Long getIddepar() {
		return this.iddepar;
	}

	/**
	 * Method 'setIddepar'.
	 *
	 * @param iddepar Long
	 * @return
     */
	
	public void setIddepar(Long iddepar) {
		this.iddepar = iddepar;
	}
    /**
	 * Method 'getCdepar'.
	 *
	 * @return String
	 */
	
	
	public String getCdepar() {
		return this.cdepar;
	}

	/**
	 * Method 'setCdepar'.
	 *
	 * @param cdepar String
	 * @return
     */
	
	public void setCdepar(String cdepar) {
		this.cdepar = cdepar;
	}
    /**
	 * Method 'getEdepar'.
	 *
	 * @return String
	 */
	
	
	public String getEdepar() {
		return this.edepar;
	}

	/**
	 * Method 'setEdepar'.
	 *
	 * @param edepar String
	 * @return
     */
	
	public void setEdepar(String edepar) {
		this.edepar = edepar;
	}
    /**
	 * Method 'getBaja'.
	 *
	 * @return String
	 */
	
	
	public String getBaja() {
		return this.baja;
	}

	/**
	 * Method 'setBaja'.
	 *
	 * @param baja String
	 * @return
     */
	
	public void setBaja(String baja) {
		this.baja = baja;
	}
    /**
	 * Method 'getFeini'.
	 *
	 * @return Date
	 */
	
	@JsonSerialize(using = JsonDateSerializer.class)
	public Date getFeini() {
		return this.feini;
	}

	/**
	 * Method 'setFeini'.
	 *
	 * @param feini Date
	 * @return
     */
	@JsonDeserialize(using = JsonDateDeserializer.class)
	public void setFeini(Date feini) {
		this.feini = feini;
	}
    /**
	 * Method 'getCidepar'.
	 *
	 * @return String
	 */
	
	
	public String getCidepar() {
		return this.cidepar;
	}

	/**
	 * Method 'setCidepar'.
	 *
	 * @param cidepar String
	 * @return
     */
	
	public void setCidepar(String cidepar) {
		this.cidepar = cidepar;
	}

	/**
	 * Intended only for logging and debugging.
	 * 
	 * Here, the contents of every main field are placed into the result.
	 * @return String
	 */
	@Override
	public String toString() {
		StringBuilder result = new StringBuilder();
		result.append(this.getClass().getName()).append(" Object { " ); 
		result.append(" [ iddepar: ").append(this.iddepar).append(" ]");
		result.append(", [ cdepar: ").append(this.cdepar).append(" ]");
		result.append(", [ edepar: ").append(this.edepar).append(" ]");
		result.append(", [ baja: ").append(this.baja).append(" ]");
		result.append(", [ feini: ").append(this.feini).append(" ]");
		result.append(", [ cidepar: ").append(this.cidepar).append(" ]");
		result.append("}");
		return result.toString();
	}


}

