Menu

Model Person.ts

Jonas Pfalzgraf

Class: Person

Person

Classdesc

Person class

Description

Creates a new Person object with the given properties. When no properties are given, a random person with all possible properties is created.

Param

Person properties

Property

Person id

Property

Person first name

Property

Person last name

Property

Person full name

Property

Person age

Property

Person email

Property

Person phone

Property

Person address

Property

Person city

Property

Person state

Property

Person zip

Property

Person country

Table of contents

Constructors

Properties

Constructors

constructor

new Person(properties?)

Creates an instance of person.

Parameters

Name Type
properties? PersonProperties

Defined in

models/person.ts:31

Properties

about

about: undefined | string

About of person

Defined in

models/person.ts:183


address

address: undefined | string

Address of person

Defined in

models/person.ts:148


age

age: undefined | number

Age of person

Defined in

models/person.ts:133


city

city: undefined | string

City of person

Defined in

models/person.ts:153


company

company: undefined | string

Company of person

Defined in

models/person.ts:173


country

country: undefined | string

Country of person

Defined in

models/person.ts:168


email

email: undefined | string

Email of person

Defined in

models/person.ts:138


firstName

firstName: undefined | string

First name of person

Defined in

models/person.ts:118


fullName

fullName: undefined | string

Full name of person

Defined in

models/person.ts:128


id

id: undefined | string

Id of person

Defined in

models/person.ts:113


jobTitle

jobTitle: undefined | string

Title of person

Defined in

models/person.ts:178


lastName

lastName: undefined | string

Last name of person

Defined in

models/person.ts:123


phone

phone: undefined | string

Phone of person

Defined in

models/person.ts:143


state

state: undefined | string

State of person

Defined in

models/person.ts:158


zip

zip: undefined | string

Zip of person

Defined in

models/person.ts:163


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.