import { IsString, IsOptional, IsObject } from 'class-validator';

export class StoreBindingDto {
  @IsString()
  merchantId: string;

  @IsString()
  platform: string;

  @IsString()
  platformShopId: string;

  @IsString()
  name: string;

  @IsOptional()
  @IsString()
  description?: string;

  @IsObject()
  authInfo: Record<string, any>;
}
