auth-service complete, app full work

This commit is contained in:
roma-dxunvrs
2026-04-11 20:26:14 +03:00
parent 2f4846e20d
commit 1356bd2509
23 changed files with 197 additions and 188 deletions
+11
View File
@@ -15,6 +15,7 @@ public class Request {
private String commandName;
private String token;
private int userId;
private List<String> stringArgs;
private List<Integer> intArgs;
@@ -31,6 +32,7 @@ public class Request {
this.password = builder.password;
this.commandName = builder.commandName;
this.token = builder.token;
this.userId = builder.userId;
this.stringArgs = builder.stringArgs;
this.intArgs = builder.intArgs;
this.objectArgs = builder.objectArgs;
@@ -42,6 +44,8 @@ public class Request {
return token;
}
public int getUserId() { return userId; }
public String getCommandName() {
return commandName;
}
@@ -87,6 +91,7 @@ public class Request {
private String commandName;
private String token;
private int userId;
private List<String> stringArgs;
private List<Integer> intArgs;
@@ -103,6 +108,7 @@ public class Request {
this.password = request.password;
this.commandName = request.commandName;
this.token = request.token;
this.userId = request.userId;
this.stringArgs = request.stringArgs;
this.intArgs = request.intArgs;
this.objectArgs = request.objectArgs;
@@ -135,6 +141,11 @@ public class Request {
return this;
}
public Builder userId(int userId) {
this.userId = userId;
return this;
}
public Builder stringArgs(List<String> stringArgs) {
this.stringArgs = stringArgs;
return this;