import DataTable from '@/components/survey-sale/detail/DataTable'
import DetailForm from '@/components/survey-sale/detail/DetailForm'
import { SurveyBasicInfo } from '@/types/Survey'

export default function page() {
  const surveyInfo: SurveyBasicInfo = {
    ID: 1,
    REPRESENTATIVE: 'HG',
    STORE: 'HWJ(T01)',
    CONSTRUCTION_POINT: '施工点名表示',
    INVESTIGATION_DATE: '2021-01-01',
    BUILDING_NAME: 'ビル名表示',
    CUSTOMER_NAME: '顧客名表示',
    POST_CODE: '1234567890',
    ADDRESS: '東京都千代田区永田町1-7-1',
    ADDRESS_DETAIL: '永田町ビル101号室',
    SUBMISSION_STATUS: true,
    SUBMISSION_DATE: '2021-01-01',
    DETAIL_INFO: null,
    REG_DT: new Date(),
    UPT_DT: new Date(),
  }
  return (
    <>
      <DataTable />
      <DetailForm surveyInfo={surveyInfo} mode="READ" />
    </>
  )
}
