14 lines
353 B
TypeScript
14 lines
353 B
TypeScript
export interface Customer {
|
|
id: number
|
|
full_name: string
|
|
email?: string | null
|
|
phone?: string | null
|
|
address?: string | null
|
|
notes?: string | null
|
|
created_at: string
|
|
updated_at: string
|
|
}
|
|
|
|
export type CustomerInsert = Omit<Customer, 'id' | 'created_at' | 'updated_at'>
|
|
export type CustomerUpdate = Partial<CustomerInsert>
|