package com.ejie.ad74a.model;

import java.util.Calendar;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.ejie.ad74a.xmlparser.DateAdapterTexto;

/**
 * InformeSocialPDF generated by UDA, 10-feb-2023 12:13:19.
 * 
 * @author UDA
 */
@XmlRootElement(name = "InformeSocialPDF")
public class InformeSocialPDF implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private InformeSocial informeSocial;
	private Informes informes;

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

	/**
	 * Method 'InformeSocialPDF'.
	 * 
	 * @param informeSocial InformeSocial
	 */
	public InformeSocialPDF(InformeSocial informeSocial) {
		this.informeSocial = informeSocial;
	}

	/**
	 * Method 'getInformeSocial'.
	 *
	 * @return InformeSocial
	 */
	public InformeSocial getInformeSocial() {
		return informeSocial;
	}

	/**
	 * Method 'setInformeSocial'.
	 *
	 * @param informeSocial InformeSocial
	 * @return
	 */
	public void setInformeSocial(InformeSocial informeSocial) {
		this.informeSocial = informeSocial;
	}

	/**
	 * 
	 * @return
	 */
	public Informes getInformes() {
		return informes;
	}

	/**
	 * 
	 * @param informes
	 */
	public void setInformes(Informes informes) {
		this.informes = informes;
	}

	/**
	 * 
	 * @return
	 */

	@XmlJavaTypeAdapter(DateAdapterTexto.class)
	public Date getfGeneracionInforme() {
		return Calendar.getInstance().getTime();
	}

}
