boy scout: contact tests

This commit is contained in:
Pablo Martin 2024-06-20 14:37:55 +02:00
parent 79d69a9286
commit c671701071

View file

@ -10,6 +10,9 @@ models:
- name: id_contact
data_type: character varying
description: Xero's unique identifier for the contact.
tests:
- not_null
- unique
- name: account_number
data_type: character varying
@ -18,14 +21,29 @@ models:
- name: contact_name
data_type: character varying
description: The name for the customer.
tests:
- not_null
- unique
- name: is_customer
data_type: boolean
description: Flag that shows if the contact is a Superhog customer.
tests:
- not_null
- accepted_values:
values:
- true
- false
- name: is_supplier
data_type: boolean
description: Flag that shows if the contact is a Superhog supplier.
tests:
- not_null
- accepted_values:
values:
- true
- false
- name: tax_number
data_type: character varying