forked from Yara724/api
blame and claim refactored
This commit is contained in:
27
src/request-management/dto/user-signature.dto.ts
Normal file
27
src/request-management/dto/user-signature.dto.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { ApiProperty } from "@nestjs/swagger";
|
||||
|
||||
export class UserSignatureResponseDto {
|
||||
@ApiProperty({
|
||||
example: "67fa10c259e15f231a2d1aae",
|
||||
description: "Request ID",
|
||||
})
|
||||
requestId: string;
|
||||
|
||||
@ApiProperty({
|
||||
example: true,
|
||||
description: "Whether the user accepted the expert decision",
|
||||
})
|
||||
accepted: boolean;
|
||||
|
||||
@ApiProperty({
|
||||
example: "COMPLETED",
|
||||
description: "Updated request status",
|
||||
})
|
||||
status: string;
|
||||
|
||||
@ApiProperty({
|
||||
example: "Both parties have signed. Case completed.",
|
||||
description: "Result message",
|
||||
})
|
||||
message: string;
|
||||
}
|
||||
Reference in New Issue
Block a user