Zone

Zone

Documentation generated from zone.entity.ts on Feb 19 2019 at 16:20

A Zone is a grouping of one or more Country entities. It is used for calculating applicable shipping and taxes.

Signature

class Zone {
  constructor(input: DeepPartial<Zone>)
  @Column() name: string;
  @ManyToMany(type => Country)
    @JoinTable()
    members: Country[];
}

Members

constructor

method
type:
(input: DeepPartial<Zone>) => Zone

name

property
type:
string

members

property
type:
Country[]
alpha