package com.ejie.ad74a.model;


import com.ejie.x38.serialization.JsonDateDeserializer;
import com.ejie.x38.serialization.JsonDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Date;

/**
 * MaestroSubtiposAvisoActor generated by UDA, 12-may-2023 11:16:38.
 * @author UDA
 */

public class MaestroSubtiposAvisoActor  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    //Clave compuesta
            private MaestroSubtiposAviso maestroSubtiposAviso;
            private MaestroActores maestroActores;
            private Date FAlta04;
            private String usuAlta04;

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


	
    
    /** 
     * Method 'MaestroSubtiposAvisoActor'.
     * @param maestroSubtiposAviso MaestroSubtiposAviso
     * @param maestroActores MaestroActores
     */    
     public MaestroSubtiposAvisoActor(MaestroSubtiposAviso maestroSubtiposAviso, MaestroActores maestroActores) {
          this.maestroSubtiposAviso = maestroSubtiposAviso;
          this.maestroActores = maestroActores;
	}

    
   /** 
    * Method 'MaestroSubtiposAvisoActor'.
   * @param maestroSubtiposAviso MaestroSubtiposAviso
   * @param maestroActores MaestroActores
   * @param FAlta04 Date
   * @param usuAlta04 String
   */
   public MaestroSubtiposAvisoActor(MaestroSubtiposAviso maestroSubtiposAviso, MaestroActores maestroActores, Date FAlta04, String usuAlta04  ) {

           this.maestroSubtiposAviso = maestroSubtiposAviso;		
           this.maestroActores = maestroActores;		
           this.FAlta04 = FAlta04;
           this.usuAlta04 = usuAlta04;
    }

	/**
     * Method 'getMaestroSubtiposAviso'.
     *
     * @return MaestroSubtiposAviso
     */
	
	
	public MaestroSubtiposAviso getMaestroSubtiposAviso() {
		return this.maestroSubtiposAviso;
	}
	
	/**
	 * Method 'setMaestroSubtiposAviso'.
	 *
	 * @param maestroSubtiposAviso MaestroSubtiposAviso
	 * @return
	 */
	
	public void setMaestroSubtiposAviso(MaestroSubtiposAviso maestroSubtiposAviso) {
		this.maestroSubtiposAviso = maestroSubtiposAviso;
	}
	/**
     * Method 'getMaestroActores'.
     *
     * @return MaestroActores
     */
	
	
	public MaestroActores getMaestroActores() {
		return this.maestroActores;
	}
	
	/**
	 * Method 'setMaestroActores'.
	 *
	 * @param maestroActores MaestroActores
	 * @return
	 */
	
	public void setMaestroActores(MaestroActores maestroActores) {
		this.maestroActores = maestroActores;
	}
    /**
	 * Method 'getFAlta04'.
	 *
	 * @return java.util.Date
	 */
	
	@JsonSerialize(using = JsonDateSerializer.class)
	public Date getFAlta04() {
		return this.FAlta04;
	}

	/**
	 * Method 'setFAlta04'.
	 *
	 * @param FAlta04 java.util.Date
	 * @return
     */
	@JsonDeserialize(using = JsonDateDeserializer.class)
	public void setFAlta04(Date FAlta04) {
		this.FAlta04 = FAlta04;
	}
    /**
	 * Method 'getUsuAlta04'.
	 *
	 * @return String
	 */
	
	
	public String getUsuAlta04() {
		return this.usuAlta04;
	}

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

	/**
	 * 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 { " ); 
		//Clave compuesta

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

		result.append(", [ maestroActores: ").append(this.maestroActores).append(" ]");
		result.append(", [ FAlta04: ").append(this.FAlta04).append(" ]");
		result.append(", [ usuAlta04: ").append(this.usuAlta04).append(" ]");
		result.append("}");
		return result.toString();
	}


}

