import { init } from "protractor/built/launcher" ; import { Group } from "./group.model" ; import { User } from "./user.model" ; let i = 0 ; export class Request { type : { proposal_type : String ; } ; object : String ; target : String ; status : { status : String ; } ; opener : String ; closer : String ; openReason : String ; closeReason : String ; approvers : [ String ] ; id : any ; constructor ( opener , target , openReason , object , type ) { this . opener = opener ; this . target = target ; this . object = object ; this . openReason = openReason ; this . type = { proposal_type : type } ; this . status = { status : "OPEN" } ; this . closer = '' ; this . id = i ; i += 1 ; } }