Fixed property groups form Group and EPerson models and added comments

This commit is contained in:
Giuseppe Digilio
2019-03-17 16:52:07 +01:00
parent e90d80bce7
commit fa218abada
4 changed files with 96 additions and 12 deletions

View File

@@ -1,12 +1,28 @@
import { Observable } from 'rxjs';
import { DSpaceObject } from '../../shared/dspace-object.model';
import { PaginatedList } from '../../data/paginated-list';
import { RemoteData } from '../../data/remote-data';
export class Group extends DSpaceObject {
public groups: Group[];
/**
* List of Groups that this Group belong to
*/
public groups: Observable<RemoteData<PaginatedList<Group>>>;
/**
* A string representing the unique handle of this Group
*/
public handle: string;
/**
* A string representing the name of this Group
*/
public name: string;
/**
* A string representing the name of this Group is permanent
*/
public permanent: boolean;
}