import BaseEntity from '../../common/entities/BaseEntity'; import SupplierKeyContact from '../../SupplierKeyContact/entity/SupplierKeyContact'; export default class Supplier extends BaseEntity { protected _name: string = ''; protected _email: string = ''; protected _phone_number: string = ''; protected _address_line_1: string = ''; protected _address_line_2: string = ''; protected _address_line_3: string = ''; protected _postcode: string = ''; protected _key_contacts: Array = []; protected _internal_notes: string = ''; get name(): string { return this._name; } set name(value: string) { this._name = value; } get email(): string { return this._email; } set email(value: string) { this._email = value; } get phone_number(): string { return this._phone_number; } set phone_number(value: string) { this._phone_number = value; } get address_line_1(): string { return this._address_line_1; } set address_line_1(value: string) { this._address_line_1 = value; } get address_line_2(): string { return this._address_line_2; } set address_line_2(value: string) { this._address_line_2 = value; } get address_line_3(): string { return this._address_line_3; } set address_line_3(value: string) { this._address_line_3 = value; } get postcode(): string { return this._postcode; } set postcode(value: string) { this._postcode = value; } get key_contacts(): Array { return this._key_contacts; } set key_contacts(value: Array) { this._key_contacts = value; } get internal_notes(): string { return this._internal_notes; } set internal_notes(value: string) { this._internal_notes = value; } }