// Types
export interface Banner {
  id: number;
  name: string;
  imageUrl: string;
  description?: string;
  productId?: number;
  redirectUrl?: string;
  serialNum: number;
  isActive: boolean;
  createdAt: string;
  lastUpdated: string;
}

export interface CreateBannerPayload {
  name: string;
  imageUrl: string;
  description?: string;
  productId?: number;
  redirectUrl?: string;
  serialNum: number;
}

export interface UpdateBannerPayload extends Partial<CreateBannerPayload> {
  isActive?: boolean;
}