import { Command } from '@sclable/nestjs-es-cqrs' <% for (let imp of imports) { %> import { <%= imp.imports.join(', ') %> } from '<%= imp.path %>'<% } %> export class <%= classify(command) %> implements Command { constructor(<% if (!isCreating) { %> public readonly id: string,<% } %><% for (let param of parameters) { %> public readonly <%= param.name %>: <%= param.type %>,<% } %> public readonly userId: string, ) {} }