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;

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

public class Direcciones  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
            private Integer iddir;
            private String cdir;
            private Long iddepar;
            private String edir;
            private String codestrUs;
            private String baja;
            private Date feini;
            private String cidir;

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

    /** 
     * Method 'Direcciones'.
     * @param iddir Integer
     * @param cdir String
     * @param iddepar Long
     * @param edir String
     * @param codestrUs String
     * @param baja String
     * @param feini Date
     * @param cidir String
     */
   public Direcciones(Integer iddir, String cdir, Long iddepar, String edir, String codestrUs, String baja, Date feini, String cidir) {	

           this.iddir = iddir;
           this.cdir = cdir;
           this.iddepar = iddepar;
           this.edir = edir;
           this.codestrUs = codestrUs;
           this.baja = baja;
           this.feini = feini;
           this.cidir = cidir;
    }

    /**
	 * Method 'getIddir'.
	 *
	 * @return Integer
	 */
	
	
	public Integer getIddir() {
		return this.iddir;
	}

	/**
	 * Method 'setIddir'.
	 *
	 * @param iddir Integer
	 * @return
     */
	
	public void setIddir(Integer iddir) {
		this.iddir = iddir;
	}
    /**
	 * Method 'getCdir'.
	 *
	 * @return String
	 */
	
	
	public String getCdir() {
		return this.cdir;
	}

	/**
	 * Method 'setCdir'.
	 *
	 * @param cdir String
	 * @return
     */
	
	public void setCdir(String cdir) {
		this.cdir = cdir;
	}
    /**
	 * 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 'getEdir'.
	 *
	 * @return String
	 */
	
	
	public String getEdir() {
		return this.edir;
	}

	/**
	 * Method 'setEdir'.
	 *
	 * @param edir String
	 * @return
     */
	
	public void setEdir(String edir) {
		this.edir = edir;
	}
    /**
	 * Method 'getCodestrUs'.
	 *
	 * @return String
	 */
	
	
	public String getCodestrUs() {
		return this.codestrUs;
	}

	/**
	 * Method 'setCodestrUs'.
	 *
	 * @param codestrUs String
	 * @return
     */
	
	public void setCodestrUs(String codestrUs) {
		this.codestrUs = codestrUs;
	}
    /**
	 * 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 'getCidir'.
	 *
	 * @return String
	 */
	
	
	public String getCidir() {
		return this.cidir;
	}

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

	/**
	 * 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(" [ iddir: ").append(this.iddir).append(" ]");
		result.append(", [ cdir: ").append(this.cdir).append(" ]");
		result.append(", [ iddepar: ").append(this.iddepar).append(" ]");
		result.append(", [ edir: ").append(this.edir).append(" ]");
		result.append(", [ codestrUs: ").append(this.codestrUs).append(" ]");
		result.append(", [ baja: ").append(this.baja).append(" ]");
		result.append(", [ feini: ").append(this.feini).append(" ]");
		result.append(", [ cidir: ").append(this.cidir).append(" ]");
		result.append("}");
		return result.toString();
	}


}

