package siprp.database.cayenne.objects.auto;

import siprp.database.cayenne.objects.BaseObject;
import siprp.database.cayenne.objects.HsMedida;
import siprp.database.cayenne.objects.HsPosto;

/**
 * Class _HsPostoMedida 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 _HsPostoMedida extends BaseObject {

    public static final String TO_HS_MEDIDA_PROPERTY = "toHsMedida";
    public static final String TO_HS_POSTO_PROPERTY = "toHsPosto";

    public static final String MEDIDA_ID_PK_COLUMN = "medida_id";
    public static final String POSTO_ID_PK_COLUMN = "posto_id";

    public void setToHsMedida(HsMedida toHsMedida) {
        setToOneTarget("toHsMedida", toHsMedida, true);
    }

    public HsMedida getToHsMedida() {
        return (HsMedida)readProperty("toHsMedida");
    }


    public void setToHsPosto(HsPosto toHsPosto) {
        setToOneTarget("toHsPosto", toHsPosto, true);
    }

    public HsPosto getToHsPosto() {
        return (HsPosto)readProperty("toHsPosto");
    }


}
