/*
* 13个客户分给3个业务员 余下的随机分配给坐席
*/
public class Test1 {
//客户集合
public static List cus=new ArrayList();
//业务员集合(坐席)
public static List per=new ArrayList();
//客户和坐席的关系集合
public static List<Guanxi> ggg=new ArrayList<Guanxi>();
for (Guanxi g : ggg) {
System.out.println("客户:"+g.getCid()+"---坐席:"+g.getPid());
}
}
}
class Guanxi{
private int cid;
private int pid;
public int getCid() {
return cid;
}
public void setCid(int cid) {
this.cid = cid;
}
public int getPid() {
return pid;
}
public void setPid(int pid) {
this.pid = pid;
}