package com.jiuqi.mobile.nigo.comeclose.bean.cross;
import com.jiuqi.mobile.nigo.comeclose.bean.base.AdminAreaBean;
/**
* 车辆分布查询条件
*
* @author lizh
*
*/
public class CarDistributionKey {
private long areaCode;// 行政区划code
private Integer big;// 机具大类
private Integer small;// 机具小类
private Integer item;// 机具品目
private int carType;// 1:辖内车辆 2:全国车辆 3:跨区车辆
private String guid;// 查询人guid 辖内车辆使用 如果为null 或者 "" 不带此条件 如果不为空 查询需要带上添加人guid等于此guid
private int isSelf = 0;// 是否查询本级 1查询自己或平级(第一次点全国分布或本地分布使用) 0: 查询下级(点击二级菜单)
/**
* 使用这个查询(根据isSelf和areaCode得到的数组) 如果为null或者长度为0 根据areaCode查询机手 如果
* 不为null 根据此数组查询所有 省市县的统计(没有具体到人);
*/
private AdminAreaBean areaBeans[];
public CarDistributionKey() {
super();
}
public CarDistributionKey(long areaCode, Integer big, Integer small,
Integer item, int carType, String guid) {
super();
this.areaCode = areaCode;
this.big = big;
this.small = small;
this.item = item;
this.carType = carType;
this.guid = guid;
}
public long getAreaCode() {
return areaCode;
}
public void setAreaCode(long areaCode) {
this.areaCode = areaCode;
}
public Integer getBig() {
return big;
}
public void setBig(Integer big) {
this.big = big;
}
public Integer getSmall() {
return small;
}
public void setSmall(Integer small) {
this.small = small;
}
public Integer getItem() {
return item;
}
public void setItem(Integer item) {
this.item = item;
}
public int getCarType() {
return carType;
}
public void setCarType(int carType) {
this.carType = carType;
}
public int getIsSelf() {
return isSelf;
}
public void setIsSelf(int isSelf) {
this.isSelf = isSelf;
}
public String getGuid() {
return guid;
}
public void setGuid(String guid) {
this.guid = guid;
}
public AdminAreaBean[] getAreaBeans() {
return areaBeans;
}
public void setAreaBeans(AdminAreaBean[] areaBeans) {
this.areaBeans = areaBeans;
}
}