@Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TimetablePK)) {
            return false;
        }
        TimetablePK other = (TimetablePK) object;
        if (this.period != other.period) {
            return false;
        }
        if ((this.day == null && other.day != null) || (this.day != null && !this.day.equals(other.day))) {
            return false;
        }
        if (this.classidClass != other.classidClass) {
            return false;
        }
        return true;
    }