Broker System for Supercredit
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

23 lines
505B

  1. import {Observable} from 'rxjs';
  2. import {PeopleService} from '../service/people.service';
  3. export class PeopleModel{
  4. constructor(
  5. public Id: string,
  6. public First: string,
  7. public Last: string,
  8. public Middle: string,
  9. public Title: string,
  10. public Display: string,
  11. public Nick: string,
  12. ){}
  13. get FullName(): string {
  14. if (this.Middle === '') {
  15. return this.First + ' ' + this.Last;
  16. }else{
  17. return this.First + ' ' + this.Middle + ' ' + this.Last;
  18. }
  19. }
  20. }