-
Notifications
You must be signed in to change notification settings - Fork 0
employee_collection
nattapon.r edited this page Feb 8, 2017
·
2 revisions
An employees collection keep relation between user & business.
/**
* Employee
*/
export class Employee implements INotiableObject {
_id: string;
userId: string;
businessId: string;
status: EmployeeStatus;
}
export enum EmployeeStatus {
not_verify = 0,
verified = 1
}
{
"_id" : ObjectId("57f8a8d41407923dc0ba0daa"),
"status" : 0,
"userId" : "57f889661407923dc0ba0da1",
"businessId" : "57984c3586ac4435408c4c70"
}
Data model
Third party systems integration.
Deployment