import of initial customer.jdl including related entities
This commit is contained in:
19
src/main/webapp/app/shared/model/contact.model.ts
Normal file
19
src/main/webapp/app/shared/model/contact.model.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import { ICustomerContact } from 'app/shared/model/customer-contact.model';
|
||||
|
||||
export interface IContact {
|
||||
id?: number;
|
||||
firstName?: string;
|
||||
lastName?: string;
|
||||
email?: string;
|
||||
roles?: ICustomerContact[];
|
||||
}
|
||||
|
||||
export class Contact implements IContact {
|
||||
constructor(
|
||||
public id?: number,
|
||||
public firstName?: string,
|
||||
public lastName?: string,
|
||||
public email?: string,
|
||||
public roles?: ICustomerContact[]
|
||||
) {}
|
||||
}
|
Reference in New Issue
Block a user