26 lines
560 B
TypeScript
26 lines
560 B
TypeScript
import type { AddressFormData } from '~/services/dto/address-data'
|
|
|
|
export interface SupplierData {
|
|
id: number
|
|
name: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
addresses: AddressFormData[]
|
|
}
|
|
export interface SupplierFormData {
|
|
name: string
|
|
email?: string
|
|
phone?: string
|
|
addresses: AddressFormData[]
|
|
}
|
|
|
|
export type SupplierPayload = {
|
|
name: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
street?: string | null
|
|
city?: string | null
|
|
postalCode?: string | null
|
|
country?: string | null
|
|
}
|