Class: Address
Hierarchy
SoftDeletableEntity
↳
Address
Constructors
constructor
• new Address()
Inherited from
SoftDeletableEntity.constructor
Properties
address_1
• address_1: null
| string
Defined in
address_2
• address_2: null
| string
Defined in
city
• city: null
| string
Defined in
company
• company: null
| string
Defined in
country
• country: null
| Country
Defined in
country_code
• country_code: null
| string
Defined in
created_at
• created_at: Date
Inherited from
SoftDeletableEntity.created_at
Defined in
interfaces/models/base-entity.ts:16
customer
• customer: null
| Customer
Defined in
customer_id
• customer_id: null
| string
Defined in
deleted_at
• deleted_at: null
| Date
Inherited from
SoftDeletableEntity.deleted_at
Defined in
interfaces/models/soft-deletable-entity.ts:7
first_name
• first_name: null
| string
Defined in
id
• id: string
Inherited from
SoftDeletableEntity.id
Defined in
interfaces/models/base-entity.ts:13
last_name
• last_name: null
| string
Defined in
metadata
• metadata: Record
<string
, unknown
>
Defined in
phone
• phone: null
| string
Defined in
postal_code
• postal_code: null
| string
Defined in
province
• province: null
| string
Defined in
updated_at
• updated_at: Date
Inherited from
SoftDeletableEntity.updated_at
Defined in
interfaces/models/base-entity.ts:19
Methods
beforeInsert
▸ Private
beforeInsert(): void
Returns
void