@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        PhpposBoxEntity that = (PhpposBoxEntity) o;

        if (Double.compare(that.amount, amount) != 0) return false;
        if (boxId != that.boxId) return false;
        if (Double.compare(that.vale, vale) != 0) return false;
        if (boxDate != null ? !boxDate.equals(that.boxDate) : that.boxDate != null) return false;

        return true;
    }