import { ApiProperty } from '@nestjs/swagger';
 
export class ReferralCategoryDto {

  @ApiProperty({ example: 1 })
  id: number;

  @ApiProperty({ example: 'new category' })
  name: string;

  @ApiProperty({ example: 'yes' })
  is_active: string;

  @ApiProperty({ example: '2025-05-08' })
  created_at: Date;
 
  @ApiProperty({ example: 1 })
  Hospital_id: number;
 
  @ApiProperty({ example: 1 })
  hospital_referral_category_id: number;
 
}
 
export class CountDto {
    @ApiProperty({ example: '10' })
    details: ReferralCategoryDto[];
 
    @ApiProperty({ example: '10' })
    total: number;
 
}