class Tax { constructor(row) { this.id = row.id; this.country_code = row.country_code; this.country_name = row.country_name; this.is_eu = !!row.is_eu; this.effective_year = row.effective_year; this.standard_rate = row.standard_rate; this.reduced_rate_1 = row.reduced_rate_1; this.reduced_rate_2 = row.reduced_rate_2; this.super_reduced_rate = row.super_reduced_rate; this.parking_rate = row.parking_rate; this.coffee_subscription_vat_rate = row.coffee_subscription_vat_rate; this.created_at = row.created_at; this.updated_at = row.updated_at; } } module.exports = Tax;