import { mockDate } from '../index'

export interface Banner {
  id: string; title: string; imageId: string; image?: { id: string; url: string }
  sort: number; isActive: number; targetUrl?: string
  createdAt: string; updatedAt: string
}

export const mockBanners: Banner[] = [
  { id: '1', title: '春日花园', imageId: '1', image: { id: '1', url: 'https://picsum.photos/seed/spring/800/400' }, sort: 0, isActive: 1, targetUrl: '/pages/wiki/index', createdAt: mockDate(30), updatedAt: mockDate(1) },
  { id: '2', title: '夏日养护', imageId: '2', image: { id: '2', url: 'https://picsum.photos/seed/summer/800/400' }, sort: 1, isActive: 1, createdAt: mockDate(20), updatedAt: mockDate(2) },
  { id: '3', title: '秋季收获', imageId: '3', image: { id: '3', url: 'https://picsum.photos/seed/autumn/800/400' }, sort: 2, isActive: 0, createdAt: mockDate(10), updatedAt: mockDate(1) },
]
