blob: 6cc362ba8cdb497470fa4be3d8dc8403db92aeff [file] [log] [blame]
package entity;
import java.io.Serializable;
import java.util.Objects;
public class UserStarId implements Serializable {
public String userid;
public String seedid;
public UserStarId() {}
public UserStarId(String userid, String seedid) {
this.userid = userid;
this.seedid = seedid;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
UserStarId that = (UserStarId) o;
return Objects.equals(userid, that.userid) && Objects.equals(seedid, that.seedid);
}
@Override
public int hashCode() {
return Objects.hash(userid, seedid);
}
}