package com.ejie.ab04b.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;

/**
 * VdatosReqApe generated by UDA, 20-jun-2017 10:36:48.
 * 
 * @author UDA
 */

public class VdatosReqApe implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	// Clave compuesta
	private String anoape;
	private String terape;
	private Integer numape;
	private java.util.Date fecpre;
	private String nomctr;
	private String dirctr;
	private String prvctr;
	private String desprvctr;
	private String munctr;
	private String desmunctr;
	private String locctr;
	private String nomlocalid;
	private String nomemp;
	private String pie1;
	private String pie2;
	private String descfirma;
	private String firma;

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

	/**
	 * Method 'VdatosReqApe'.
	 * 
	 *  anoape
	 *            String
	 *  terape
	 *            String
	 *  numape
	 *            Integer
	 *
	 * @param anoape the anoape
	 * @param terape the terape
	 * @param numape the numape
	 */
	public VdatosReqApe(String anoape, String terape, Integer numape) {
		this.anoape = anoape;
		this.terape = terape;
		this.numape = numape;
	}

	/**
	 * Method 'VdatosReqApe'.
	 * 
	 *  anoape
	 *            String
	 *  terape
	 *            String
	 *  numape
	 *            Integer
	 *  fecpre
	 *            Date
	 *  nomctr
	 *            String
	 *  dirctr
	 *            String
	 *  prvctr
	 *            String
	 *  desprvctr
	 *            String
	 *  munctr
	 *            String
	 *  desmunctr
	 *            String
	 *  locctr
	 *            String
	 *  nomlocalid
	 *            String
	 *  nomemp
	 *            String
	 *  pie1
	 *            String
	 *  pie2
	 *            String
	 *  descfirma
	 *            String
	 *  firma
	 *            String
	 *
	 * @param anoape the anoape
	 * @param terape the terape
	 * @param numape the numape
	 * @param fecpre the fecpre
	 * @param nomctr the nomctr
	 * @param dirctr the dirctr
	 * @param prvctr the prvctr
	 * @param desprvctr the desprvctr
	 * @param munctr the munctr
	 * @param desmunctr the desmunctr
	 * @param locctr the locctr
	 * @param nomlocalid the nomlocalid
	 * @param nomemp the nomemp
	 * @param pie1 the pie 1
	 * @param pie2 the pie 2
	 * @param descfirma the descfirma
	 * @param firma the firma
	 */
	public VdatosReqApe(String anoape, String terape, Integer numape,
			Date fecpre, String nomctr, String dirctr, String prvctr,
			String desprvctr, String munctr, String desmunctr, String locctr,
			String nomlocalid, String nomemp, String pie1, String pie2,
			String descfirma, String firma) {

		this.anoape = anoape;
		this.terape = terape;
		this.numape = numape;
		this.fecpre = fecpre;
		this.nomctr = nomctr;
		this.dirctr = dirctr;
		this.prvctr = prvctr;
		this.desprvctr = desprvctr;
		this.munctr = munctr;
		this.desmunctr = desmunctr;
		this.locctr = locctr;
		this.nomlocalid = nomlocalid;
		this.nomemp = nomemp;
		this.pie1 = pie1;
		this.pie2 = pie2;
		this.descfirma = descfirma;
		this.firma = firma;
	}

	/**
	 * Method 'getAnoape'.
	 * 
	 *  String
	 *
	 * @return the anoape
	 */

	public String getAnoape() {
		return this.anoape;
	}

	/**
	 * Method 'setAnoape'.
	 * 
	 *  anoape            String
	 *
	 * @param anoape the new anoape
	 */

	public void setAnoape(String anoape) {
		this.anoape = anoape;
	}

	/**
	 * Method 'getTerape'.
	 * 
	 *  String
	 *
	 * @return the terape
	 */

	public String getTerape() {
		return this.terape;
	}

	/**
	 * Method 'setTerape'.
	 * 
	 *  terape            String
	 *
	 * @param terape the new terape
	 */

	public void setTerape(String terape) {
		this.terape = terape;
	}

	/**
	 * Method 'getNumape'.
	 * 
	 *  Integer
	 *
	 * @return the numape
	 */

	public Integer getNumape() {
		return this.numape;
	}

	/**
	 * Method 'setNumape'.
	 * 
	 *  numape            Integer
	 *
	 * @param numape the new numape
	 */

	public void setNumape(Integer numape) {
		this.numape = numape;
	}

	/**
	 * Method 'getFecpre'.
	 * 
	 *  Date
	 *
	 * @return the fecpre
	 */

	@JsonSerialize(using = JsonDateSerializer.class)
	public Date getFecpre() {
		return this.fecpre;
	}

	/**
	 * Method 'setFecpre'.
	 * 
	 *  fecpre            Date
	 *
	 * @param fecpre the new fecpre
	 */
	@JsonDeserialize(using = JsonDateDeserializer.class)
	public void setFecpre(Date fecpre) {
		this.fecpre = fecpre;
	}

	/**
	 * Method 'getNomctr'.
	 * 
	 *  String
	 *
	 * @return the nomctr
	 */

	public String getNomctr() {
		return this.nomctr;
	}

	/**
	 * Method 'setNomctr'.
	 * 
	 *  nomctr            String
	 *
	 * @param nomctr the new nomctr
	 */

	public void setNomctr(String nomctr) {
		this.nomctr = nomctr;
	}

	/**
	 * Method 'getDirctr'.
	 * 
	 *  String
	 *
	 * @return the dirctr
	 */

	public String getDirctr() {
		return this.dirctr;
	}

	/**
	 * Method 'setDirctr'.
	 * 
	 *  dirctr            String
	 *
	 * @param dirctr the new dirctr
	 */

	public void setDirctr(String dirctr) {
		this.dirctr = dirctr;
	}

	/**
	 * Method 'getPrvctr'.
	 * 
	 *  String
	 *
	 * @return the prvctr
	 */

	public String getPrvctr() {
		return this.prvctr;
	}

	/**
	 * Method 'setPrvctr'.
	 * 
	 *  prvctr            String
	 *
	 * @param prvctr the new prvctr
	 */

	public void setPrvctr(String prvctr) {
		this.prvctr = prvctr;
	}

	/**
	 * Method 'getDesprvctr'.
	 * 
	 *  String
	 *
	 * @return the desprvctr
	 */

	public String getDesprvctr() {
		return this.desprvctr;
	}

	/**
	 * Method 'setDesprvctr'.
	 * 
	 *  desprvctr            String
	 *
	 * @param desprvctr the new desprvctr
	 */

	public void setDesprvctr(String desprvctr) {
		this.desprvctr = desprvctr;
	}

	/**
	 * Method 'getMunctr'.
	 * 
	 *  String
	 *
	 * @return the munctr
	 */

	public String getMunctr() {
		return this.munctr;
	}

	/**
	 * Method 'setMunctr'.
	 * 
	 *  munctr            String
	 *
	 * @param munctr the new munctr
	 */

	public void setMunctr(String munctr) {
		this.munctr = munctr;
	}

	/**
	 * Method 'getDesmunctr'.
	 * 
	 *  String
	 *
	 * @return the desmunctr
	 */

	public String getDesmunctr() {
		return this.desmunctr;
	}

	/**
	 * Method 'setDesmunctr'.
	 * 
	 *  desmunctr            String
	 *
	 * @param desmunctr the new desmunctr
	 */

	public void setDesmunctr(String desmunctr) {
		this.desmunctr = desmunctr;
	}

	/**
	 * Method 'getLocctr'.
	 * 
	 *  String
	 *
	 * @return the locctr
	 */

	public String getLocctr() {
		return this.locctr;
	}

	/**
	 * Method 'setLocctr'.
	 * 
	 *  locctr            String
	 *
	 * @param locctr the new locctr
	 */

	public void setLocctr(String locctr) {
		this.locctr = locctr;
	}

	/**
	 * Method 'getNomlocalid'.
	 * 
	 *  String
	 *
	 * @return the nomlocalid
	 */

	public String getNomlocalid() {
		return this.nomlocalid;
	}

	/**
	 * Method 'setNomlocalid'.
	 * 
	 *  nomlocalid            String
	 *
	 * @param nomlocalid the new nomlocalid
	 */

	public void setNomlocalid(String nomlocalid) {
		this.nomlocalid = nomlocalid;
	}

	/**
	 * Method 'getNomemp'.
	 * 
	 *  String
	 *
	 * @return the nomemp
	 */

	public String getNomemp() {
		return this.nomemp;
	}

	/**
	 * Method 'setNomemp'.
	 * 
	 *  nomemp            String
	 *
	 * @param nomemp the new nomemp
	 */

	public void setNomemp(String nomemp) {
		this.nomemp = nomemp;
	}

	/**
	 * Method 'getPie1'.
	 * 
	 *  String
	 *
	 * @return the pie 1
	 */

	public String getPie1() {
		return this.pie1;
	}

	/**
	 * Method 'setPie1'.
	 * 
	 *  pie1            String
	 *
	 * @param pie1 the new pie 1
	 */

	public void setPie1(String pie1) {
		this.pie1 = pie1;
	}

	/**
	 * Method 'getPie2'.
	 * 
	 *  String
	 *
	 * @return the pie 2
	 */

	public String getPie2() {
		return this.pie2;
	}

	/**
	 * Method 'setPie2'.
	 * 
	 *  pie2            String
	 *
	 * @param pie2 the new pie 2
	 */

	public void setPie2(String pie2) {
		this.pie2 = pie2;
	}

	/**
	 * Method 'getDescfirma'.
	 * 
	 *  String
	 *
	 * @return the descfirma
	 */

	public String getDescfirma() {
		return this.descfirma;
	}

	/**
	 * Method 'setDescfirma'.
	 * 
	 *  descfirma            String
	 *
	 * @param descfirma the new descfirma
	 */

	public void setDescfirma(String descfirma) {
		this.descfirma = descfirma;
	}

	/**
	 * Method 'getFirma'.
	 * 
	 *  String
	 *
	 * @return the firma
	 */

	public String getFirma() {
		return this.firma;
	}

	/**
	 * Method 'setFirma'.
	 * 
	 *  firma            String
	 *
	 * @param firma the new firma
	 */

	public void setFirma(String firma) {
		this.firma = firma;
	}

	/**
	 * Intended only for logging and debugging.
	 * 
	 * Here, the contents of every main field are placed into the result.
	 * 
	 *  String
	 *
	 * @return the string
	 */
	@Override
	public String toString() {
		StringBuilder result = new StringBuilder();
		result.append(this.getClass().getName()).append(" Object { ");
		// Clave compuesta

		result.append("[ anoape: ").append(this.anoape).append(" ]");

		result.append(", [ terape: ").append(this.terape).append(" ]");

		result.append(", [ numape: ").append(this.numape).append(" ]");

		result.append(", [ fecpre: ").append(this.fecpre).append(" ]");

		result.append(", [ nomctr: ").append(this.nomctr).append(" ]");

		result.append(", [ dirctr: ").append(this.dirctr).append(" ]");

		result.append(", [ prvctr: ").append(this.prvctr).append(" ]");

		result.append(", [ desprvctr: ").append(this.desprvctr).append(" ]");

		result.append(", [ munctr: ").append(this.munctr).append(" ]");

		result.append(", [ desmunctr: ").append(this.desmunctr).append(" ]");

		result.append(", [ locctr: ").append(this.locctr).append(" ]");

		result.append(", [ nomlocalid: ").append(this.nomlocalid).append(" ]");

		result.append(", [ nomemp: ").append(this.nomemp).append(" ]");

		result.append(", [ pie1: ").append(this.pie1).append(" ]");

		result.append(", [ pie2: ").append(this.pie2).append(" ]");

		result.append(", [ descfirma: ").append(this.descfirma).append(" ]");

		result.append(", [ firma: ").append(this.firma).append(" ]");
		result.append("}");
		return result.toString();
	}

}
