// ===== 회사 정보 타입 =====
export interface CompanyInfo {
  id: string;
  // 회사 정보
  companyLogo?: string;
  companyName: string;
  representativeName: string;
  businessType: string;      // 업태
  businessCategory: string;  // 업종
  // 주소
  zipCode: string;
  address: string;
  addressDetail: string;
  // 연락처
  email: string;
  taxInvoiceEmail: string;
  managerName: string;
  managerPhone: string;
  // 사업자 정보
  businessLicense?: string;  // 사업자등록증 파일
  businessNumber: string;    // 사업자등록번호
  // 결제 계좌 정보
  paymentBank: string;
  paymentAccount: string;
  paymentAccountHolder: string;
  paymentDay: string;
  // 메타
  createdAt: string;
  updatedAt: string;
}

export interface CompanyFormData {
  companyLogo?: File | string;
  companyName: string;
  representativeName: string;
  businessType: string;
  businessCategory: string;
  zipCode: string;
  address: string;
  addressDetail: string;
  email: string;
  taxInvoiceEmail: string;
  managerName: string;
  managerPhone: string;
  businessLicense?: File | string;
  businessNumber: string;
  paymentBank: string;
  paymentAccount: string;
  paymentAccountHolder: string;
  paymentDay: string;
}

// ===== 초기 폼 데이터 =====
export const INITIAL_FORM_DATA: CompanyFormData = {
  companyLogo: undefined,
  companyName: '',
  representativeName: '',
  businessType: '',
  businessCategory: '',
  zipCode: '',
  address: '',
  addressDetail: '',
  email: '',
  taxInvoiceEmail: '',
  managerName: '',
  managerPhone: '',
  businessLicense: undefined,
  businessNumber: '',
  paymentBank: '',
  paymentAccount: '',
  paymentAccountHolder: '',
  paymentDay: '',
};

// ===== 결제일 옵션 =====
export const PAYMENT_DAY_OPTIONS = [
  { value: '1', label: '매월 1일' },
  { value: '5', label: '매월 5일' },
  { value: '10', label: '매월 10일' },
  { value: '15', label: '매월 15일' },
  { value: '20', label: '매월 20일' },
  { value: '25', label: '매월 25일' },
  { value: 'last', label: '매월 말일' },
];