class Employment extends Accountability<Company, Employee> {

    public static Company getEmployer(Employee employee, Date date) {
        return getRepository().createNamedQuery("Employment.getEmployer")
                .addParameter("employee", employee).addParameter("date", date).singleResult();
    }

    protected  Employment();
    public  Employment(Company company, Employee employee, Date date);

}