Add customer management
This commit is contained in:
32
internal_frontend/services/customers/entities/customer.ts
Normal file
32
internal_frontend/services/customers/entities/customer.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
export interface PhoneNumber {
|
||||
number: string;
|
||||
note: string;
|
||||
createdBy: string;
|
||||
createdAt: string;
|
||||
updatedBy: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface Note {
|
||||
text: string;
|
||||
createdBy: string;
|
||||
createdAt: string;
|
||||
updatedBy: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface Customer {
|
||||
id: string;
|
||||
email: string;
|
||||
name: string;
|
||||
companyName: string;
|
||||
phoneNumbers: PhoneNumber[];
|
||||
street: string;
|
||||
zip: string;
|
||||
city: string;
|
||||
notes: Note[];
|
||||
createdBy: string;
|
||||
createdAt: string;
|
||||
updatedBy: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user