Administrator

Administrator

Administrator

An administrative user who has access to the admin ui.

Signature

class Administrator extends VendureEntity {
  constructor(input?: DeepPartial<Administrator>)
  @Column() firstName: string;
  @Column() lastName: string;
  @Column({ unique: true })
    emailAddress: string;
  @OneToOne(type => User)
    @JoinColumn()
    user: User;
}

Members

constructor

method
type:
(input?: DeepPartial<Administrator>) => Administrator

firstName

property
type:
string

lastName

property
type:
string

emailAddress

property
type:
string

user

property
type:
User