let i = 1 ; export class User { name : String ; ownerOf : [ String ] ; memberOf : [ String ] ; administratorOf : [ String ] ; managers : [ String ] ; subordinates : [ String ] ; proposals : [ String ] ; metadata : String ; id : any ; constructor ( name , ownerOf ? , memberOf ? , managers ? , subordinates ? , administratorOf ? , proposals ? , metadata ? ) { this . name = name ; this . ownerOf = ownerOf || [ ] ; this . memberOf = memberOf || [ ] ; this . managers = managers || [ ] ; this . subordinates = subordinates || [ ] ; this . administratorOf = administratorOf || [ ] ; this . proposals = proposals || [ ] ; this . metadata = metadata || '' ; this . id = i ; i += 1 ; } }