package siprp.database.cayenne.objects.auto;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.Exames;
import siprp.database.cayenne.objects.TrabalhadoresProcesso;

/**
 * Class _TrabalhadoresFichasAptidao was generated by Cayenne.
 * It is probably a good idea to avoid changing this class manually,
 * since it may be overwritten next time code is regenerated.
 * If you need to make any customizations, please use subclass.
 */
public abstract class _TrabalhadoresFichasAptidao extends BaseObject {

    public static final String ID_PROPERTY = "id";
    public static final String TO_EXAMES_PROPERTY = "toExames";
    public static final String TO_TRABALHADORES_PROCESSO_PROPERTY = "toTrabalhadoresProcesso";

    public static final String ID_PK_COLUMN = "id";

    public void setId(Integer id) {
        writeProperty("id", id);
    }
    public Integer getId() {
        return (Integer)readProperty("id");
    }

    public void setToExames(Exames toExames) {
        setToOneTarget("toExames", toExames, true);
    }

    public Exames getToExames() {
        return (Exames)readProperty("toExames");
    }


    public void setToTrabalhadoresProcesso(TrabalhadoresProcesso toTrabalhadoresProcesso) {
        setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
    }

    public TrabalhadoresProcesso getToTrabalhadoresProcesso() {
        return (TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
    }


}
