io.github.h800572003.generate.select.SelectQueryDTO Maven / Gradle / Ivy
The newest version!
package io.github.h800572003.generate.select;
import java.util.Objects;
public
class SelectQueryDTO {
private String name;
private Class pClass;
public SelectQueryDTO(String name, Class pClass) {
this.name = name;
this.pClass = pClass;
}
public String getName() {
return name;
}
public Class getpClass() {
return pClass;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SelectQueryDTO queryDTO = (SelectQueryDTO) o;
return Objects.equals(name, queryDTO.name);
}
@Override
public int hashCode() {
return Objects.hash(name);
}
}