Skip to content

Commit

Permalink
Add XReportPrintingRequest (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniilSolovyov and sda authored Mar 13, 2024
1 parent 8d8c8f1 commit 7f79761
Showing 1 changed file with 55 additions and 0 deletions.
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();
}
}

0 comments on commit 7f79761

Please sign in to comment.