package pwc.taxtech.atms.dto.user; import com.fasterxml.jackson.annotation.JsonProperty; public class UserRoleQuery { @JsonProperty("ID") private String id; @JsonProperty("userID") private String userId; private String userName; @JsonProperty("roleID") private String roleId; private String roleName; private String serviceTypeName; @JsonProperty("serviceTypeID") private String serviceTypeId; @JsonProperty("roleCategoryID") private String roleCategoryId; private String roleCatetoryName; @JsonProperty("orgID") private String orgId; private String orgName; private String email; private Boolean status; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getRoleId() { return roleId; } public void setRoleId(String roleId) { this.roleId = roleId; } public String getRoleName() { return roleName; } public void setRoleName(String roleName) { this.roleName = roleName; } public String getServiceTypeName() { return serviceTypeName; } public void setServiceTypeName(String serviceTypeName) { this.serviceTypeName = serviceTypeName; } public String getServiceTypeId() { return serviceTypeId; } public void setServiceTypeId(String serviceTypeId) { this.serviceTypeId = serviceTypeId; } public String getRoleCategoryId() { return roleCategoryId; } public void setRoleCategoryId(String roleCategoryId) { this.roleCategoryId = roleCategoryId; } public String getRoleCatetoryName() { return roleCatetoryName; } public void setRoleCatetoryName(String roleCatetoryName) { this.roleCatetoryName = roleCatetoryName; } public String getOrgId() { return orgId; } public void setOrgId(String orgId) { this.orgId = orgId; } public String getOrgName() { return orgName; } public void setOrgName(String orgName) { this.orgName = orgName; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public Boolean getStatus() { return status; } public void setStatus(Boolean status) { this.status = status; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((id == null) ? 0 : id.hashCode()); result = prime * result + ((email == null) ? 0 : email.hashCode()); result = prime * result + ((orgId == null) ? 0 : orgId.hashCode()); result = prime * result + ((orgName == null) ? 0 : orgName.hashCode()); result = prime * result + ((roleCategoryId == null) ? 0 : roleCategoryId.hashCode()); result = prime * result + ((roleCatetoryName == null) ? 0 : roleCatetoryName.hashCode()); result = prime * result + ((roleId == null) ? 0 : roleId.hashCode()); result = prime * result + ((roleName == null) ? 0 : roleName.hashCode()); result = prime * result + ((serviceTypeId == null) ? 0 : serviceTypeId.hashCode()); result = prime * result + ((serviceTypeName == null) ? 0 : serviceTypeName.hashCode()); result = prime * result + ((status == null) ? 0 : status.hashCode()); result = prime * result + ((userId == null) ? 0 : userId.hashCode()); result = prime * result + ((userName == null) ? 0 : userName.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; UserRoleQuery other = (UserRoleQuery) obj; if (id == null) { if (other.id != null) return false; } else if (!id.equals(other.id)) return false; if (email == null) { if (other.email != null) return false; } else if (!email.equals(other.email)) return false; if (orgId == null) { if (other.orgId != null) return false; } else if (!orgId.equals(other.orgId)) return false; if (orgName == null) { if (other.orgName != null) return false; } else if (!orgName.equals(other.orgName)) return false; if (roleCategoryId == null) { if (other.roleCategoryId != null) return false; } else if (!roleCategoryId.equals(other.roleCategoryId)) return false; if (roleCatetoryName == null) { if (other.roleCatetoryName != null) return false; } else if (!roleCatetoryName.equals(other.roleCatetoryName)) return false; if (roleId == null) { if (other.roleId != null) return false; } else if (!roleId.equals(other.roleId)) return false; if (roleName == null) { if (other.roleName != null) return false; } else if (!roleName.equals(other.roleName)) return false; if (serviceTypeId == null) { if (other.serviceTypeId != null) return false; } else if (!serviceTypeId.equals(other.serviceTypeId)) return false; if (serviceTypeName == null) { if (other.serviceTypeName != null) return false; } else if (!serviceTypeName.equals(other.serviceTypeName)) return false; if (status == null) { if (other.status != null) return false; } else if (!status.equals(other.status)) return false; if (userId == null) { if (other.userId != null) return false; } else if (!userId.equals(other.userId)) return false; if (userName == null) { if (other.userName != null) return false; } else if (!userName.equals(other.userName)) return false; return true; } }