|
- import {Observable} from 'rxjs';
- import {PeopleService} from '../service/people.service';
-
- export class PeopleModel{
- constructor(
- public Id: string,
- public First: string,
- public Last: string,
- public Middle: string,
- public Title: string,
- public Display: string,
- public Nick: string,
- ){}
-
- get FullName(): string {
- if (this.Middle === '') {
- return this.First + ' ' + this.Last;
- }else{
- return this.First + ' ' + this.Middle + ' ' + this.Last;
- }
- }
- }
|