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

54 lines (46 loc) 1.34 kB
export abstract class User { private _salt: string = ""; private _identitycard: string = ""; private _password: string = ""; private _username: string = ""; private _completename: string = ""; public get salt(): string { return this._salt; } public set salt(value: string) { this._salt = value; } public get identitycard(): string { return this._identitycard; } public set identitycard(value: string) { this._identitycard = value; } public get completename(): string { return this._completename; } public set completename(value: string) { this._completename = value; } public get username(): string { return this._username; } public set username(value: string) { this._username = value; } public get password(): string { return this._password; } public set password(value: string) { this._password = value; } constructor(psalt:string,pidentitycard:string,pcompletename:string,ppasword:string,pusername:string) { this.salt=psalt; this.identitycard=pidentitycard; this.username=pusername; this.completename=pcompletename; this.password=ppasword; } }