import { ApiProperty } from '@nestjs/swagger';

export class AuthUserDto {
  @ApiProperty()
  id!: string;

  @ApiProperty()
  employeeCode!: string;

  @ApiProperty()
  name!: string;

  @ApiProperty()
  email!: string;

  @ApiProperty()
  roleId!: string;

  @ApiProperty()
  departmentId!: string;

  @ApiProperty()
  designation!: string;

  @ApiProperty({ type: [String] })
  permissions!: string[];
}
