import { IsNotEmpty } from 'class-validator';
import { RequestBody } from '../../{{deepness}}core/api/RequestBody';


export class {{name.capitalize}}Request extends RequestBody {
    {{#if hasProperties}}
    {{#each properties}}

    @IsNotEmpty()
    {{name.camelCase}}: {{type.script}};
    {{/each}}
    {{else}}

    // TODO Define your props here and add your needed validator annotations
    @IsNotEmpty()
    propName: string;
    {{/if}}

}


import { IsNotEmpty } from 'class-validator';
import { RequestBody } from '../../{{deepness}}core/api/RequestBody';


export class {{name.capitalize}}Request extends RequestBody {
    {{#if hasProperties}}
    {{#each properties}}

    @IsNotEmpty()
    {{name.camelCase}}: {{type.script}};
    {{/each}}
    {{else}}

    // TODO Define your props here and add your needed validator annotations
    @IsNotEmpty()
    public propName: string;
    {{/if}}

}


Add public key word to example prop
Add public key word to example prop
