@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        final P4ActionProfileModel other = (P4ActionProfileModel) obj;
        return Objects.equals(this.id, other.id)
                && Objects.equals(this.tables, other.tables)
                && Objects.equals(this.hasSelector, other.hasSelector)
                && Objects.equals(this.size, other.size)
                && Objects.equals(this.maxGroupSize, other.maxGroupSize);
    }
@Test
    public void testEquals() {
        new EqualsTester()
                .addEqualityGroup(actProfModel, sameAsActProfModel)
                .addEqualityGroup(actProfModel2)
                .addEqualityGroup(actProfModel3)
                .addEqualityGroup(actProfModel4)
                .addEqualityGroup(actProfModel5)
                .testEquals();
    }