Commit 8e07645e authored by nanahira's avatar nanahira

missing

parent 56824a75
Pipeline #30779 passed with stages
in 1 minute and 35 seconds
...@@ -70,3 +70,14 @@ export class StringReturnMessageDto ...@@ -70,3 +70,14 @@ export class StringReturnMessageDto
this.data = data; this.data = data;
} }
} }
export class GenericReturnMessageDto<T>
extends BlankReturnMessageDto
implements ReturnMessage<T>
{
data?: T;
constructor(statusCode: number, message?: string, data?: T) {
super(statusCode, message);
this.data = data;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment