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

export class UpdateItemPriceDto {
  @ApiProperty({
    type: [Object],
    required: true,
    example: [
      {
        item: {
          id: 'bee5c493-fb35-4ceb-b7a1-7bc3edb3c63b',
          name: 'TEnant 2 wahana air',
          item_type: 'wahana',
          base_price: '100000',
          hpp: '0',
          tenant: {
            id: 'e19a4637-d4db-48cc-89ce-501913d07cdd',
            name: 'e19a4637-d4db-48cc-89ce-501913d07cdd',
            share_margin: null,
          },
          item_category: {
            id: '88633772-ec34-4645-bc04-6cfdce6af0cf',
            name: 'Wahana Air',
          },
        },
        qty: 1,
        total_price: '100000',
      },
    ],
  })
  items: Object[];

  @ApiProperty({
    type: String,
    example: 'uuid',
  })
  season_period_id: string;

  @ApiProperty({
    type: Date,
    example: '2024-08-17',
  })
  booking_date: Date;
}
