/**
 * This file is part of the Meeds project (https://meeds.io/).
 *
 * Copyright (C) 2020 - 2025 Meeds Association contact@meeds.io
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 3 of the License, or (at your option) any later version.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */
package org.exoplatform.services.organization;

import java.io.Serializable;
import java.util.Date;

public class Query implements Serializable
{

   private String userName_;

   private String fname_;

   private String lname_;

   private String email_;

   private Date from_;

   private Date to_;

   public Query()
   {
   }

   public String getUserName()
   {
      return userName_;
   }

   public void setUserName(String s)
   {
      userName_ = s;
   }

   public String getFirstName()
   {
      return fname_;
   }

   public void setFirstName(String s)
   {
      fname_ = s;
   }

   public String getLastName()
   {
      return lname_;
   }

   public void setLastName(String s)
   {
      lname_ = s;
   }

   public String getEmail()
   {
      return email_;
   }

   public void setEmail(String s)
   {
      email_ = s;
   }

   public Date getFromLoginDate()
   {
      return from_;
   }

   public void setFromLoginDate(Date d)
   {
      from_ = d;
   }

   public Date getToLoginDate()
   {
      return to_;
   }

   public void setToLoginDate(Date d)
   {
      to_ = d;
   }

   public boolean isEmpty()
   {
      return email_ == null && fname_ == null && from_ == null && lname_ == null && to_ == null && userName_ == null;
   }
}
