Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Guest {
- private String username;
- private String password;
- private String firstName;
- private String lastName;
- private String prefix;
- private double balance;
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public String getFirstName() {
- return firstName;
- }
- public void setFirstName(String firstName) {
- this.firstName = firstName;
- }
- public String getLastName() {
- return lastName;
- }
- public void setLastName(String lastName) {
- this.lastName = lastName;
- }
- public String getPrefix() {
- return prefix;
- }
- public void setPrefix(String prefix) {
- this.prefix = prefix;
- }
- public double getBalance() {
- return balance;
- }
- public void setBalance(double balance) {
- this.balance = balance;
- }
- }
- public class Room {
- private int maxAllowed;
- private int numberOfRooms;
- private String viewType;
- private double price;
- public int getMaxAllowed() {
- return maxAllowed;
- }
- public void setMaxAllowed(int maxAllowed) {
- this.maxAllowed = maxAllowed;
- }
- public int getNumberOfRooms() {
- return numberOfRooms;
- }
- public void setNumberOfRooms(int numberOfRooms) {
- this.numberOfRooms = numberOfRooms;
- }
- public String getViewType() {
- return viewType;
- }
- public void setViewType(String viewType) {
- this.viewType = viewType;
- }
- public double getPrice() {
- return price;
- }
- public void setPrice(double price) {
- this.price = price;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement