package siprp.database.cayenne.objects.auto;

import org.apache.cayenne.CayenneDataObject;

import siprp.database.cayenne.objects.Estabelecimentos;

/**
 * Class _EmailPlanoDeActuacao 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 _EmailPlanoDeActuacao extends CayenneDataObject {

    public static final String DESCRIPTION_PROPERTY = "description";
    public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";

    public static final String ID_PK_COLUMN = "id";

    public void setDescription(String description) {
        writeProperty("description", description);
    }
    public String getDescription() {
        return (String)readProperty("description");
    }

    public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
        setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
    }

    public Estabelecimentos getToEstabelecimentos() {
        return (Estabelecimentos)readProperty("toEstabelecimentos");
    }


}
