mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-04-20 16:31:31 -04:00
53 lines
952 B
Java
53 lines
952 B
Java
package com.uncc.gameday.parking;
|
|
|
|
/**
|
|
* The Class ParkingLot.
|
|
* Basic POJO used for communicating information about each Parking lot
|
|
* between the Gameday app and server-side implementation
|
|
*/
|
|
public class ParkingLot {
|
|
|
|
/** The location. */
|
|
private ParkingChoice location;
|
|
|
|
/** The filled_pct. */
|
|
private int filled_pct;
|
|
|
|
/**
|
|
* Gets the filled pct.
|
|
*
|
|
* @return the filled pct
|
|
*/
|
|
public int getFilledPct() {
|
|
return filled_pct;
|
|
}
|
|
|
|
/**
|
|
* Sets the filled pct.
|
|
*
|
|
* @param filled_pct the new filled pct
|
|
*/
|
|
public void setFilledPct(int filled_pct) {
|
|
this.filled_pct = filled_pct;
|
|
}
|
|
|
|
/**
|
|
* Gets the location.
|
|
*
|
|
* @return the location
|
|
*/
|
|
public ParkingChoice getLocation() {
|
|
return location;
|
|
}
|
|
|
|
/**
|
|
* Sets the location.
|
|
*
|
|
* @param location the new location
|
|
*/
|
|
public void setLocation(ParkingChoice location) {
|
|
this.location = location;
|
|
}
|
|
|
|
}
|