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;

/**
 * Secciones generated by UDA, 27-jul-2016 11:29:27.
 * 
 * @author UDA
 */

public class SeccionJ73 implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private String secc004;
	private String desc004;
	private Date fechoract004;

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

	/**
	 * Method 'Secciones'.
	 * 
	 *  secc004
	 *            String
	 *
	 * @param secc004 the secc 004
	 */
	public SeccionJ73(String secc004) {
		this.secc004 = secc004;
	}

	/**
	 * Method 'Secciones'.
	 * 
	 *  secc004
	 *            String
	 *  desc004
	 *            String
	 *  fechoract004
	 *            Date
	 *
	 * @param secc004 the secc 004
	 * @param desc004 the desc 004
	 * @param fechoract004 the fechoract 004
	 */
	public SeccionJ73(String secc004, String desc004, Date fechoract004) {

		this.secc004 = secc004;
		this.desc004 = desc004;
		this.fechoract004 = fechoract004;
	}

	/**
	 * Method 'getSecc004'.
	 * 
	 *  String
	 *
	 * @return the secc 004
	 */

	public String getSecc004() {
		return this.secc004;
	}

	/**
	 * Method 'setSecc004'.
	 * 
	 *  secc004            String
	 *
	 * @param secc004 the new secc 004
	 */

	public void setSecc004(String secc004) {
		this.secc004 = secc004;
	}

	/**
	 * Method 'getDesc004'.
	 * 
	 *  String
	 *
	 * @return the desc 004
	 */

	public String getDesc004() {
		return this.desc004;
	}

	/**
	 * Method 'setDesc004'.
	 * 
	 *  desc004            String
	 *
	 * @param desc004 the new desc 004
	 */

	public void setDesc004(String desc004) {
		this.desc004 = desc004;
	}

	/**
	 * Method 'getFechoract004'.
	 * 
	 *  java.util.Date
	 *
	 * @return the fechoract 004
	 */

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

	/**
	 * Method 'setFechoract004'.
	 * 
	 *  fechoract004            java.util.Date
	 *
	 * @param fechoract004 the new fechoract 004
	 */
	@JsonDeserialize(using = JsonDateDeserializer.class)
	public void setFechoract004(Date fechoract004) {
		this.fechoract004 = fechoract004;
	}

	/**
	 * 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 { ");
		result.append(" [ secc004: ").append(this.secc004).append(" ]");
		result.append(", [ desc004: ").append(this.desc004).append(" ]");
		result.append(", [ fechoract004: ").append(this.fechoract004)
				.append(" ]");
		result.append("}");
		return result.toString();
	}

}
