(function () { "use strict"; angular .module("app.models") .factory("appModels.approval", approvalModels); function approvalModels() { return { AssetsFilter: ApprovalAssetsFilter, ServicesFilter: ApprovalServicesFilter, MomentsFilters: ApprovalMomentsFilter, Status:Status }; function ApprovalAssetsFilter() { this.searchQuery = null; this.startDate = null; this.endDate = null; this.selectedLocation = new ApprovalDestination(); this.selectedCareProvider = new ApprovalCareProvider(); } function ApprovalServicesFilter() { this.searchQuery = null; this.startDate = null; this.endDate = null; this.selectedStatus = null; this.selectedCareProvider = new ApprovalCareProvider(); } function ApprovalMomentsFilter() { this.searchQuery = null; this.startDate = null; this.endDate = null; this.selectedStatus = null; this.selectedCareProvider = new ApprovalCareProvider(); } function Status(id, name) { this.id = id; this.name = name; } function ApprovalCareProvider() { this.id = null; this.name = null; } function ApprovalDestination () { this.id = null; this.name = null; } } })();