src/app/owners/owner.ts
Properties |
| address |
address:
|
Type : string
|
| city |
city:
|
Type : string
|
| firstName |
firstName:
|
Type : string
|
| id |
id:
|
Type : number
|
| lastName |
lastName:
|
Type : string
|
| pets |
pets:
|
Type : Pet[]
|
| telephone |
telephone:
|
Type : string
|
import {Pet} from '../pets/pet';
export interface Owner {
id: number;
firstName: string;
lastName: string;
address: string;
city: string;
telephone: string;
pets: Pet[];
}