import { ApiProperty } from "@nestjs/swagger"

export class CreateOrganogramDto {
  @ApiProperty({ example: "CEO" })
  name: string

  @ApiProperty({ example: 5 })
  user_count: number

  @ApiProperty({ example: false })
  is_assistant: boolean

  @ApiProperty()
  department: any[]

  @ApiProperty()
  business_verticals?: any[]

  @ApiProperty({ type: [CreateOrganogramDto], required: false })
  children?: CreateOrganogramDto[]
}
