package com.newvideo.domain.web;
|
|
import com.google.gson.annotations.Expose;
|
import com.newvideo.domain.DetailSystem;
|
|
public class DetailSystemSelect {
|
@Expose
|
private DetailSystem detailSystem;
|
@Expose
|
private boolean selected;
|
|
public DetailSystem getDetailSystem() {
|
return detailSystem;
|
}
|
|
public void setDetailSystem(DetailSystem detailSystem) {
|
this.detailSystem = detailSystem;
|
}
|
|
public boolean isSelected() {
|
return selected;
|
}
|
|
public void setSelected(boolean selected) {
|
this.selected = selected;
|
}
|
|
@Override
|
public int hashCode() {
|
final int prime = 31;
|
int result = 1;
|
result = prime * result
|
+ ((detailSystem == null) ? 0 : detailSystem.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;
|
DetailSystemSelect other = (DetailSystemSelect) obj;
|
if (detailSystem == null) {
|
if (other.detailSystem != null)
|
return false;
|
} else if (!detailSystem.equals(other.detailSystem))
|
return false;
|
return true;
|
}
|
|
|
}
|