src/app/contacts/contacts.data.ts
Properties |
constructor(group: Group)
|
||||||||
Defined in src/app/contacts/contacts.data.ts:28
|
||||||||
Parameters :
|
Public id |
id:
|
Type : number
|
Defined in src/app/contacts/contacts.data.ts:27
|
Public text |
text:
|
Type : string
|
Defined in src/app/contacts/contacts.data.ts:28
|
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[]) {
}
}