mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-03-16 07:35:49 +00:00
user update
This commit is contained in:
9
.old/commands/create-user.command.ts
Normal file
9
.old/commands/create-user.command.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { CreateUserRequest } from '../domain/dtos/create-user.request';
|
||||
|
||||
export class CreateUserCommand {
|
||||
readonly createUserRequest: CreateUserRequest;
|
||||
|
||||
constructor(request: CreateUserRequest) {
|
||||
this.createUserRequest = request;
|
||||
}
|
||||
}
|
||||
7
.old/commands/delete-user.command.ts
Normal file
7
.old/commands/delete-user.command.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export class DeleteUserCommand {
|
||||
readonly uuid: string;
|
||||
|
||||
constructor(uuid: string) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
}
|
||||
9
.old/commands/update-user.command.ts
Normal file
9
.old/commands/update-user.command.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { UpdateUserRequest } from '../domain/dtos/update-user.request';
|
||||
|
||||
export class UpdateUserCommand {
|
||||
readonly updateUserRequest: UpdateUserRequest;
|
||||
|
||||
constructor(request: UpdateUserRequest) {
|
||||
this.updateUserRequest = request;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user