@addapptables/microservice
Version:
addapptables microservice
15 lines (12 loc) • 339 B
text/typescript
import { Command, ICommandDto } from '../../';
export interface DataCommand extends ICommandDto {
id: any;
name: string;
}
export class TestCommand extends Command<DataCommand> {
public action: string = 'test-command';
public context: string = 'test';
constructor(data: DataCommand, cid?: string) {
super(data, cid);
}
}