package com.newvideo.domain.web;
|
|
import java.util.List;
|
|
import com.google.gson.annotations.Expose;
|
import com.newvideo.domain.HotVideoType;
|
|
/**
|
* 热门分类
|
*
|
* @author Administrator
|
*
|
*/
|
public class HotTypeAdmin {
|
@Expose
|
private HotVideoType hotType;
|
@Expose
|
private List<DetailSystemSelect> detailSystemList;
|
|
public HotTypeAdmin(HotVideoType hotType,
|
List<DetailSystemSelect> detailSystemList) {
|
super();
|
this.hotType = hotType;
|
this.detailSystemList = detailSystemList;
|
}
|
|
public HotTypeAdmin() {
|
// TODO Auto-generated constructor stub
|
}
|
|
public HotVideoType getHotType() {
|
return hotType;
|
}
|
|
public void setHotType(HotVideoType hotType) {
|
this.hotType = hotType;
|
}
|
|
public List<DetailSystemSelect> getDetailSystemList() {
|
return detailSystemList;
|
}
|
|
public void setDetailSystemList(List<DetailSystemSelect> detailSystemList) {
|
this.detailSystemList = detailSystemList;
|
}
|
|
@Override
|
public int hashCode() {
|
final int prime = 31;
|
int result = 1;
|
result = prime * result + ((hotType == null) ? 0 : hotType.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;
|
HotTypeAdmin other = (HotTypeAdmin) obj;
|
if (hotType == null) {
|
if (other.hotType != null)
|
return false;
|
} else if (!hotType.equals(other.hotType))
|
return false;
|
return true;
|
}
|
|
}
|