-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
58cf98f
commit 2d8cdf5
Showing
9 changed files
with
279 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/* | ||
* This is a simple web application utilizing Spring MVC and Hibernate. | ||
* Developed by Lv-205 group of Softserve Academy. | ||
* | ||
* Copyright (c) 1993-2016 Softserve, Inc. | ||
* This software is the confidential and proprietary information of Softserve. | ||
* | ||
*/ | ||
|
||
/** | ||
* | ||
* Proxy class, represents museum's guide statistic results. | ||
* | ||
* @author Yuri Pushchalo | ||
* @version 1.0 | ||
* @since 27.10.2016 | ||
* | ||
*/ | ||
package com.softserve.museum.domain; | ||
|
||
import java.time.LocalTime; | ||
|
||
public class GuideStatisticDTO { | ||
|
||
private String firstName; | ||
|
||
private String lastName; | ||
|
||
private long totalExcursions; | ||
|
||
private LocalTime excursionsTotalDuration; | ||
|
||
/** | ||
* Default no-args constructor | ||
*/ | ||
public GuideStatisticDTO() { | ||
} | ||
|
||
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 long getTotalExcursions() { | ||
return totalExcursions; | ||
} | ||
|
||
public void setTotalExcursions(long totalExcursions) { | ||
this.totalExcursions = totalExcursions; | ||
} | ||
|
||
public LocalTime getExcursionsTotalDuration() { | ||
return excursionsTotalDuration; | ||
} | ||
|
||
public void setExcursionsTotalDuration(LocalTime excursionsTotalDuration) { | ||
this.excursionsTotalDuration = excursionsTotalDuration; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "Guide [First Name=" + firstName + ", " + | ||
"Last Name=" + lastName + ", " + "Total Excursions Number=" + totalExcursions + | ||
"Excursion Total Duration=" + excursionsTotalDuration + "]"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.