com.capitalone.dashboard.model.WhiteSourceProjectVital Maven / Gradle / Ivy
package com.capitalone.dashboard.model;
import java.util.Objects;
public class WhiteSourceProjectVital {
Long id;
String name;
String token;
long creationDate;
long lastUpdateDate;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public long getCreationDate() {
return creationDate;
}
public void setCreationDate(long creationDate) {
this.creationDate = creationDate;
}
public long getLastUpdateDate() {
return lastUpdateDate;
}
public void setLastUpdateDate(long lastUpdateDate) {
this.lastUpdateDate = lastUpdateDate;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof WhiteSourceProjectVital)) return false;
WhiteSourceProjectVital that = (WhiteSourceProjectVital) o;
return Objects.equals(token, that.token);
}
@Override
public int hashCode() {
return Objects.hash(token);
}
}