src/app/contacts/contacts.data.ts
Properties |
|
constructor(groupId: number, contactIds: number[])
|
||||||||||||
Defined in src/app/contacts/contacts.data.ts:20
|
||||||||||||
Parameters :
|
Public contactIds |
contactIds:
|
Type : number[]
|
Defined in src/app/contacts/contacts.data.ts:22
|
Public groupId |
groupId:
|
Type : number
|
Defined in src/app/contacts/contacts.data.ts:21
|
import {Group} from "./shared/group.model";
export class CreateGroupData {
constructor(public name: string,
public contactsBookId: number) {
}
}
export class UpdateGroupData {
constructor(public name: string,
public groupId: number) {
}
}
export class RemoveContactsData {
constructor(public contactIds: number[]) {
}
}
export class AddContactsToGroupData {
constructor(public groupId: number,
public contactIds: number[]) {
}
}
export class GroupSelectItem {
public id: number;
public text: string;
constructor(group: Group){
this.id = group.id;
this.text = group.name;
}
}
export class RemoveContactsFromGroupData {
constructor(public groupId: number,
public contactIds: number[]) {
}
}