Class ReservationRuleDTO

java.lang.Object
fr.paris.lutece.plugins.appointment.web.dto.ReservationRuleDTO
All Implemented Interfaces:
Serializable

public class ReservationRuleDTO extends Object implements Serializable
Business class of the rules of the reservation
Author:
Laurent Payen
See Also:
  • Constructor Details

    • ReservationRuleDTO

      public ReservationRuleDTO()
  • Method Details

    • getIdReservationRule

      public int getIdReservationRule()
      Get the id of the rule of the reservation
      Returns:
      the id of the rule of the reservation
    • setIdReservationRule

      public void setIdReservationRule(int nIdReservationRule)
      Set the id of the rule of the reservation
      Parameters:
      nIdReservationRule - the id to set
    • getName

      public String getName()
      Returns the Name
      Returns:
      The Name
    • setName

      public void setName(String strName)
      Sets the Name
      Parameters:
      strName - The Name
    • getDescriptionRule

      public String getDescriptionRule()
      Returns the Description
      Returns:
      The Description
    • setDescriptionRule

      public void setDescriptionRule(String strDescription)
      Sets the Description
      Parameters:
      strDescription - The Description
    • getColor

      public String getColor()
      Returns the Color
      Returns:
      The Color
    • setColor

      public void setColor(String strColor)
      Sets the Color
      Parameters:
      strColor - The Color
    • getEnable

      public boolean getEnable()
      Returns the Enable
      Returns:
      The Enable
    • setEnable

      public void setEnable(boolean bEnable)
      Sets the Enable
      Parameters:
      bEnable - The Enable
    • getTimeStart

      public String getTimeStart()
      Returns the starting time of the working day of the form
      Returns:
      The starting time
    • setTimeStart

      public void setTimeStart(String timeStart)
      Sets the starting time of the working day of the form
      Parameters:
      the - starting time to set The TimeStart
    • getTimeEnd

      public String getTimeEnd()
      Returns the ending time of the working day of the form
      Returns:
      The ending time
    • setTimeEnd

      public void setTimeEnd(String timeEnd)
      Sets the ending time of the working day of the form
      Parameters:
      the - ending time to set
    • getDurationAppointments

      public int getDurationAppointments()
      Returns the duration of an appointment
      Returns:
      The duration of an appointment
    • setDurationAppointments

      public void setDurationAppointments(int nDurationAppointments)
      Sets the duration of an appointment
      Parameters:
      nDurationAppointments - The Duration of an Appointments
    • getMaxCapacityPerSlot

      public int getMaxCapacityPerSlot()
      Get the maximum capacity for a slot
      Returns:
      the maximum capacity for a slot
    • setMaxCapacityPerSlot

      public void setMaxCapacityPerSlot(int nMaxCapacityPerSlot)
      Set the maximum capacity for a slot
      Parameters:
      nMaxCapacityPerSlot - the maximum capacity for a slot
    • getMaxPeoplePerAppointment

      public int getMaxPeoplePerAppointment()
      Get the maximum number of people authorized for an appointment
      Returns:
      the maximum number of people authorized for an appointment
    • setMaxPeoplePerAppointment

      public void setMaxPeoplePerAppointment(int nMaxPeoplePerAppointment)
      Set the maximum number of people authorized for an appointment
      Parameters:
      nMaxPeoplePerAppointment - the maximum of people to set
    • getIdForm

      public int getIdForm()
      Get the Form Id the Reservation Rule belongs to
      Returns:
      the Form Id
    • setIdForm

      public void setIdForm(int nIdForm)
      Set the Form Id the Reservation Rule belongs to
      Parameters:
      nIdForm - the Form Id tp set
    • getListWorkingDay

      public List<WorkingDay> getListWorkingDay()
      Get the list of the working days of the week
      Returns:
      the list of the working days for the week
    • setListWorkingDay

      public void setListWorkingDay(List<WorkingDay> listWorkingDays)
      Set the working days for the week
      Parameters:
      _listWorkingDays - the list o f working days to set