UNPKG

e-commercee

Version:

This package contains a backend of what would be the logic of a e-commercee software, the architecture used is made in 3 layers

20 lines (16 loc) 525 B
import { User } from "./User"; export class Administrator extends User { private _position: string = ""; public get position(): string { return this._position; } public set position(value: string) { this._position = value; } constructor(psalt,pidentitycard:string,pcompletename:string,ppasword:string,pusername:string,pposition:string) { super(psalt,pidentitycard,pcompletename,ppasword,pusername); this.position=pposition; } }