/* Options: Date: 2026-05-09 19:49:03 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://chienbinhdevias-admin-api-sandbox.adnx.vn //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateOrUpdateRole.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class BaseResponse implements IResponseRequest { public code: number; public message?: string; public data?: Role; public constructor(init?: Partial>) { (Object as any).assign(this, init); } } // @Route("/roles", "POST") export class CreateOrUpdateRole implements IReturn> { public id: number; public roleName: string; public roleCode: string; public isActive: number; public permissions: string[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CreateOrUpdateRole'; } public getMethod() { return 'POST'; } public createResponse() { return new BaseResponse(); } }