@Override
        public Object getValueAt(int i, int i1) {
            Tenant t=tenants.get(i); //To change body of generated methods, choose Tools | Templates.
            switch(i1){
                case 0:
                    return t.getId();
                case 1:
                    return t.getName();
                case 2:
                    return t.getAddress();
                case 3:
                    return t.getTel();
                case 4:
                    return t.getRoom();
                case 5:
                    return t.getRentDate();
                case 6:
                    return t.getPayStatus();
                default:
                    return null;
            }
        }