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

export class UpdatePackagesDto {
  @ApiProperty({ example: 'Combo 1', description: 'Name of the package' })
  package_name: string;

  @ApiProperty({ example: '18%', description: 'Applicable tax for the package' })
  package_tax: any;

  @ApiProperty({
    example: [1, 2],
    description: 'List of charge type IDs associated with the package'
  })
  charge_type_ids: number[];

  @ApiProperty({ example: 1, description: 'Package category ID' })
  package_category_id: number;

  @ApiProperty({ example: 'Basic package description' })
  description: string;

  @ApiProperty({ example: '500', description: 'Standard charge for the package' })
  package_amount: any;

  @ApiProperty({ example: 1, description: 'Hospital id' })
  hospital_id: number;

  @ApiProperty({ example: true, description: 'Is edited the fields' })
  isEdited: boolean;

  updated_at?: Date | string;

  created_at?: Date | string;
}