/**
 * @aurora-catalyst-generated
 * @source cliter/o-auth/application-client.aurora.yaml
 */
import { OAuthApplicationDto } from '@api/o-auth/application';
import { OAuthClientDto } from '@api/o-auth/client';
import { ApiProperty } from '@nestjs/swagger';

export class OAuthApplicationClientDto {
  @ApiProperty({
    type: String,
    description: 'applicationId [input here api field description]',
    example: 'b2084ffc-d9b4-5588-a334-6a602d4cb4dc',
  })
  applicationId: string;

  @ApiProperty({
    type: () => OAuthApplicationDto,
    description: 'OAuthApplication [input here api field description]',
  })
  application?: OAuthApplicationDto;

  @ApiProperty({
    type: String,
    description: 'clientId [input here api field description]',
    example: '589cf4d0-af83-5c3a-8683-3c162633d000',
  })
  clientId: string;

  @ApiProperty({
    type: () => OAuthClientDto,
    description: 'OAuthClient [input here api field description]',
  })
  client?: OAuthClientDto;
}
