Reuse existing addresses when creating an event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-08-22 15:57:44 +02:00
parent ebf5534003
commit 0e0b68445b
22 changed files with 410 additions and 121 deletions

View File

@@ -1,11 +1,23 @@
export interface IAddress {
id: number;
id?: number;
description: string;
floor: string;
street: string;
locality: string;
postal_code: string;
postalCode: string;
region: string;
country: string;
geom: string;
geom?: string;
url?: string;
originId?: string;
}
export class Address implements IAddress {
country: string = '';
description: string = '';
floor: string = '';
locality: string = '';
postalCode: string = '';
region: string = '';
street: string = '';
}