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

export class HospitalDto {
  @ApiProperty()
  hospital_id: number;

  @ApiProperty()
  logo: string;

  @ApiProperty()
  hospital_name: string;

  @ApiProperty()
  hospital_timing: string;

  @ApiProperty()
  hospital_consulting_charge: string;

  @ApiProperty()
  taxPercentage: string;

  @ApiProperty()
  taxAmount: string;

  @ApiProperty()
  lattitude: string;

  @ApiProperty()
  longitude: string;

  @ApiProperty()
  totalAmount: number;

  @ApiProperty()
  address: string;

  @ApiProperty()
  ratingcount: string;

  @ApiPropertyOptional()
  rating?: number;
}


export class HospitalDetailsDto {
  @ApiProperty({ example: '10' })
  details: HospitalDto[];

  @ApiProperty({ example: '10' })
  total: number;

}

export class HospitalDoctorsDto {
    @ApiProperty({ example: "Dr. John", description: "Doctor's full name" })
    doctor_name: string;

    @ApiProperty({ example: 376, description: "Unique ID of the doctor" })
    doctor_id: number;

    @ApiProperty({ example: "21- Developer.jpg_1742634643668", description: "Doctor's profile image file name" })
    image: string;

    @ApiProperty({ example: 1, description: "Associated hospital ID" })
    hospital_id: number;

    @ApiProperty({ example: "Plenome test", description: "Hospital name" })
    hospital_name: string;

    @ApiProperty({ example: "Chennai Taramani, chennai, tamilnadu - 600042", description: "Hospital address" })
    address: string;

    @ApiProperty({ example: "Male", description: "Doctor's gender" })
    gender: string;

    @ApiProperty({ example: "", description: "Doctor's years of experience (can be empty)" })
    experience: string;

    @ApiProperty({ example: "sad", description: "Doctor's qualification" })
    qualification: string;

    @ApiProperty({ example: "Ophthalmologist", description: "Doctor's designation" })
    doctor_designation: string;

    @ApiProperty({ example: "Albanian,Azerbaijan", description: "Languages known by the doctor" })
    languages_known: string;

    @ApiProperty({ example: "-", description: "Doctor's rating, can be a number or '-' if not rated" })
    rating: string;

    @ApiProperty({ example: "cardiologist,dermodology", description: "Doctor's specialist areas" })
    specialist_names: string;

    @ApiProperty({ example: "04:00 AM - 10:00 PM", description: "Doctor's shift timings" })
    timings_shift_id: string;

    @ApiProperty({ example: null, description: "Consultation fee, can be null" })
    amount: number | null;
}

export class HosDocDetailsDto {
    @ApiProperty({ example: '10' })
    details: HospitalDoctorsDto[];
  
    @ApiProperty({ example: '10' })
    total: number;
  
  }


 