-
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.
https://dev.untill.com/projects/#!685103 Co-authored-by: sda <[email protected]>
- Loading branch information
1 parent
8d8c8f1
commit 7f79761
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
src/main/java/com/untill/driver/interfaces/report/XReportPrintingRequest.java
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,55 @@ | ||
package com.untill.driver.interfaces.report; | ||
|
||
import java.util.Date; | ||
|
||
/** | ||
* A request for {@link IReportHandler} <tt>X-report printed</tt> operation | ||
*/ | ||
public class XReportPrintingRequest extends ReportHandlerRequest { | ||
/** | ||
* X-report from timestamp | ||
*/ | ||
private Date from; | ||
/** | ||
* X-report till timestamp | ||
*/ | ||
private Date till; | ||
/** | ||
* An ID of the {@link com.untill.driver.untillapi.users.User#id user} | ||
*/ | ||
private long userId; | ||
|
||
public Date getFrom() { | ||
return from; | ||
} | ||
|
||
public void setFrom(Date from) { | ||
this.from = from; | ||
} | ||
|
||
public Date getTill() { | ||
return till; | ||
} | ||
|
||
public void setTill(Date till) { | ||
this.till = till; | ||
} | ||
|
||
public long getUserId() { | ||
return userId; | ||
} | ||
|
||
public void setUserId(long userId) { | ||
this.userId = userId; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "XReportPrintingRequest{" | ||
+ "from=" + from | ||
+ ", till=" + till | ||
+ ", userId=" + userId | ||
+ "} " | ||
+ super.toString(); | ||
} | ||
} |