import { EntityStatus } from "@/types/common"

export type CustomerType = "B2B" | "B2C"

export interface Customer {
  customerId: number
  customerCode: string
  customerType: CustomerType
  name: string
  displayName: string | null
  phone: string | null
  email: string | null
  addressLine1: string | null
  addressLine2: string | null
  city: string | null
  country: string | null
  taxRegistrationNo: string | null
  creditLimit: number
  creditDays: number
  defaultWarehouseId: number | null
  status: EntityStatus
  createdAt: string
  updatedAt: string | null
}
