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

export class TokenDataEntity {
  @ApiProperty({ description: '用户 ID' })
  userId: string;

  @ApiProperty({ description: '角色 ID' })
  roleId: number;

  @ApiProperty({ description: '基础角色' })
  baseRole: number;

  @ApiProperty({ description: '组织 ID' })
  orgId: number;
}
