/**
 * 배차차량관리 Mock 데이터
 */

import type {
  VehicleDispatchItem,
  VehicleDispatchDetail,
  VehicleDispatchStats,
} from './types';

// 통계 데이터
export const mockVehicleDispatchStats: VehicleDispatchStats = {
  prepaidAmount: 1250000,
  collectAmount: 880000,
  totalAmount: 2130000,
};

// 배차차량 목록 Mock 데이터
export const mockVehicleDispatchItems: VehicleDispatchItem[] = [
  {
    id: 'vd-001',
    dispatchNo: 'VD-260101-001',
    shipmentNo: 'SL-260101-01',
    siteName: '위브 청라',
    orderCustomer: '두산건설(주)',
    logisticsCompany: '한진물류',
    tonnage: '3.5톤',
    supplyAmount: 250000,
    vat: 25000,
    totalAmount: 275000,
    freightCostType: 'prepaid',
    vehicleNo: '경기12차1234',
    driverContact: '010-1234-5678',
    writer: '홍길동',
    arrivalDateTime: '2026-01-01 09:00',
    status: 'completed',
    remarks: '1차 배차',
  },
  {
    id: 'vd-002',
    dispatchNo: 'VD-260101-002',
    shipmentNo: 'SL-260101-02',
    siteName: '대시앙 동탄',
    orderCustomer: '태영건설(주)',
    logisticsCompany: 'CJ대한통운',
    tonnage: '5톤',
    supplyAmount: 350000,
    vat: 35000,
    totalAmount: 385000,
    freightCostType: 'collect',
    vehicleNo: '서울34나5678',
    driverContact: '010-2345-6789',
    writer: '김철수',
    arrivalDateTime: '2026-01-01 14:00',
    status: 'completed',
    remarks: '',
  },
  {
    id: 'vd-003',
    dispatchNo: 'VD-260102-001',
    shipmentNo: 'SL-260102-01',
    siteName: '버킷 광교',
    orderCustomer: '호반건설(주)',
    logisticsCompany: '롯데글로벌로지스',
    tonnage: '11톤',
    supplyAmount: 500000,
    vat: 50000,
    totalAmount: 550000,
    freightCostType: 'prepaid',
    vehicleNo: '인천56마7890',
    driverContact: '010-3456-7890',
    writer: '이영희',
    arrivalDateTime: '2026-01-02 08:30',
    status: 'draft',
    remarks: '중량물 주의',
  },
  {
    id: 'vd-004',
    dispatchNo: 'VD-260102-002',
    shipmentNo: 'SL-260102-02',
    siteName: '자이 위례',
    orderCustomer: 'GS건설(주)',
    logisticsCompany: '현대글로비스',
    tonnage: '2.5톤',
    supplyAmount: 180000,
    vat: 18000,
    totalAmount: 198000,
    freightCostType: 'collect',
    vehicleNo: '경기78바1234',
    driverContact: '010-4567-8901',
    writer: '박민수',
    arrivalDateTime: '2026-01-02 11:00',
    status: 'draft',
    remarks: '',
  },
  {
    id: 'vd-005',
    dispatchNo: 'VD-260103-001',
    shipmentNo: 'SL-260103-01',
    siteName: '푸르지오 일산',
    orderCustomer: '대우건설(주)',
    logisticsCompany: '한진물류',
    tonnage: '5톤',
    supplyAmount: 320000,
    vat: 32000,
    totalAmount: 352000,
    freightCostType: 'prepaid',
    vehicleNo: '서울90사2345',
    driverContact: '010-5678-9012',
    writer: '홍길동',
    arrivalDateTime: '2026-01-03 09:30',
    status: 'completed',
    remarks: '',
  },
  {
    id: 'vd-006',
    dispatchNo: 'VD-260103-002',
    shipmentNo: 'SL-260103-02',
    siteName: '힐스테이트 판교',
    orderCustomer: '현대건설(주)',
    logisticsCompany: 'CJ대한통운',
    tonnage: '3.5톤',
    supplyAmount: 280000,
    vat: 28000,
    totalAmount: 308000,
    freightCostType: 'collect',
    vehicleNo: '경기23아4567',
    driverContact: '010-6789-0123',
    writer: '김철수',
    arrivalDateTime: '2026-01-03 15:00',
    status: 'draft',
    remarks: '지하주차장 진입',
  },
  {
    id: 'vd-007',
    dispatchNo: 'VD-260104-001',
    shipmentNo: 'SL-260104-01',
    siteName: '래미안 강남 포레스트',
    orderCustomer: '삼성물산(주)',
    logisticsCompany: '롯데글로벌로지스',
    tonnage: '11톤',
    supplyAmount: 620000,
    vat: 62000,
    totalAmount: 682000,
    freightCostType: 'prepaid',
    vehicleNo: '서울45나6789',
    driverContact: '010-7890-1234',
    writer: '이영희',
    arrivalDateTime: '2026-01-04 08:00',
    status: 'completed',
    remarks: '',
  },
  {
    id: 'vd-008',
    dispatchNo: 'VD-260104-002',
    shipmentNo: 'SL-260104-02',
    siteName: '더샵 송도',
    orderCustomer: '포스코건설(주)',
    logisticsCompany: '한진물류',
    tonnage: '5톤',
    supplyAmount: 400000,
    vat: 40000,
    totalAmount: 440000,
    freightCostType: 'prepaid',
    vehicleNo: '인천67마8901',
    driverContact: '010-8901-2345',
    writer: '박민수',
    arrivalDateTime: '2026-01-04 13:30',
    status: 'completed',
    remarks: '2차 배차',
  },
];

// 배차차량 상세 Mock 데이터
export const mockVehicleDispatchDetail: VehicleDispatchDetail = {
  id: 'vd-001',
  // 기본 정보
  dispatchNo: 'VD-260101-001',
  shipmentNo: 'SL-260101-01',
  siteName: '위브 청라',
  orderCustomer: '두산건설(주)',
  freightCostType: 'prepaid',
  status: 'completed',
  writer: '홍길동',

  // 배차 정보
  logisticsCompany: '한진물류',
  arrivalDateTime: '2026-01-01 09:00',
  tonnage: '3.5톤',
  vehicleNo: '경기12차1234',
  driverContact: '010-1234-5678',
  remarks: '1차 배차',

  // 배송비 정보
  supplyAmount: 250000,
  vat: 25000,
  totalAmount: 275000,
};
