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;

/**
 * VdatosReqOs generated by UDA, 20-jun-2017 10:04:30.
 * 
 * @author UDA
 */

public class VdatosReqOs implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	// Clave compuesta
	private String anoos;
	private String teros;
	private Integer numos;
	private String tipoos;
	private java.util.Date fecpre;
	private String dirctr;
	private String prvctr;
	private String munctr;
	private String descmuni;
	private String nomemp;
	private String pie1;
	private String pie2;
	private String descfirma;
	private String firma;

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

	/**
	 * Method 'VdatosReqOs'.
	 * 
	 *  anoape
	 *            String
	 *  terape
	 *            String
	 *  numape
	 *            Integer
	 *  tipoos
	 *            String
	 *
	 * @param anoape the anoape
	 * @param terape the terape
	 * @param numape the numape
	 * @param tipoos the tipoos
	 */
	public VdatosReqOs(String anoape, String terape, Integer numape,
			String tipoos) {
		this.anoos = anoape;
		this.teros = terape;
		this.numos = numape;
		this.tipoos = tipoos;
	}

	/**
	 * Method 'VdatosReqOs'.
	 * 
	 *  anoape
	 *            String
	 *  terape
	 *            String
	 *  numape
	 *            Integer
	 *  tipoos
	 *            String
	 *  fecpre
	 *            Date
	 *  dirctr
	 *            String
	 *  prvctr
	 *            String
	 *  munctr
	 *            String
	 *  descmuni
	 *            String
	 *  nomemp
	 *            String
	 *  pie1
	 *            String
	 *  pie2
	 *            String
	 *  descfirma
	 *            String
	 *  firma
	 *            String
	 *
	 * @param anoape the anoape
	 * @param terape the terape
	 * @param numape the numape
	 * @param tipoos the tipoos
	 * @param fecpre the fecpre
	 * @param dirctr the dirctr
	 * @param prvctr the prvctr
	 * @param munctr the munctr
	 * @param descmuni the descmuni
	 * @param nomemp the nomemp
	 * @param pie1 the pie 1
	 * @param pie2 the pie 2
	 * @param descfirma the descfirma
	 * @param firma the firma
	 */
	public VdatosReqOs(String anoape, String terape, Integer numape,
			String tipoos, Date fecpre, String dirctr, String prvctr,
			String munctr, String descmuni, String nomemp, String pie1,
			String pie2, String descfirma, String firma) {

		this.anoos = anoape;
		this.teros = terape;
		this.numos = numape;
		this.tipoos = tipoos;
		this.fecpre = fecpre;
		this.dirctr = dirctr;
		this.prvctr = prvctr;
		this.munctr = munctr;
		this.descmuni = descmuni;
		this.nomemp = nomemp;
		this.pie1 = pie1;
		this.pie2 = pie2;
		this.descfirma = descfirma;
		this.firma = firma;
	}

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

	public String getAnoos() {
		return this.anoos;
	}

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

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

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

	public String getTeros() {
		return this.teros;
	}

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

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

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

	public Integer getNumos() {
		return this.numos;
	}

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

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

	/**
	 * Method 'getTipoos'.
	 * 
	 *  String
	 *
	 * @return the tipoos
	 */

	public String getTipoos() {
		return this.tipoos;
	}

	/**
	 * Method 'setTipoos'.
	 * 
	 *  tipoos            String
	 *
	 * @param tipoos the new tipoos
	 */

	public void setTipoos(String tipoos) {
		this.tipoos = tipoos;
	}

	/**
	 * 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 '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 '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 'getDescmuni'.
	 * 
	 *  String
	 *
	 * @return the descmuni
	 */

	public String getDescmuni() {
		return this.descmuni;
	}

	/**
	 * Method 'setDescmuni'.
	 * 
	 *  descmuni            String
	 *
	 * @param descmuni the new descmuni
	 */

	public void setDescmuni(String descmuni) {
		this.descmuni = descmuni;
	}

	/**
	 * 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.anoos).append(" ]");

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

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

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

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

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

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

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

		result.append(", [ descmuni: ").append(this.descmuni).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();
	}

}
