import { Defaults } from '../defaults'; import { Address } from './address'; import { FreeFieldGroup } from './freeFieldGroup'; import { InvoiceBy } from './invoiceBy'; import { MailSending } from './mailSending'; export class Supplier { publicId: string = Defaults.Guid; supplierCode: number = Defaults.Number; gln: string | null = Defaults.Null; name: string = Defaults.String; phoneNumber: string | null = Defaults.Null; mobilePhoneNumber: string | null = Defaults.Null; bTWNumber: number | string | null = Defaults.Null; kVKNumber: string | null = Defaults.Null; iBAN: string | null = Defaults.Null; memo: string | null = Defaults.Null; email: string | null = Defaults.Null; invoiceBy: InvoiceBy | null = new InvoiceBy(); businessAddress: Address | null = new Address(); correspondenceAddress: Address | null = new Address(); invoiceAddress: Address | null = new Address(); deliveryAddress: Address | null = new Address(); quoteMailSending: MailSending | null = new MailSending(); confirmationMailSending: MailSending | null = new MailSending(); invoiceMailSending: MailSending | null = new MailSending(); reminderMailSending: MailSending | null = new MailSending(); groupedFreeFields: FreeFieldGroup[] = []; error: string = Defaults.String; [key: string]: any; }