export type VehicleStatus = 'active' | 'inactive' | 'maintenance' | 'retired';

export type VehicleType = 'car' | 'truck' | 'van' | 'bus' | 'other';

export interface VehicleItem {
  id: string;
  plateNumber: string;
  brand: string;
  model: string;
  type: VehicleType;
  status: VehicleStatus;
  vin?: string;
  ownerName?: string;
  remark?: string;
  createdAt: string;
  updatedAt: string;
}

export interface VehicleListParams {
  plateNumber?: string;
  brand?: string;
  status?: VehicleStatus;
  type?: VehicleType;
  current?: number;
  pageSize?: number;
}

export interface VehicleListResponse {
  data: VehicleItem[];
  total: number;
  success: boolean;
}

export interface VehicleFormValues {
  id?: string;
  plateNumber: string;
  brand: string;
  model: string;
  type: VehicleType;
  status: VehicleStatus;
  vin?: string;
  ownerName?: string;
  remark?: string;
}

