Skip to content

Commit

Permalink
ZReportPrintingRequest: add userId (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniilSolovyov and sda authored Mar 11, 2024
1 parent fb7f387 commit 8d8c8f1
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ public class ZReportPrintingRequest extends ReportHandlerRequest {
* Z-report till timestamp
*/
private Date till;
/**
* An ID of the {@link com.untill.driver.untillapi.users.User#id user}
*/
private long userId;

public int getNumber() {
return number;
Expand All @@ -43,12 +47,22 @@ 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 "ZReportPrintingRequest{"
+ "number=" + number
+ ", from=" + from
+ ", till=" + till
+ '}';
+ ", userId=" + userId
+ "} "
+ super.toString();
}
}

0 comments on commit 8d8c8f1

Please sign in to comment.