Added assignment history and unassignment feature (not yet tested).

This commit is contained in:
2022-08-15 07:49:34 -07:00
parent 2fd0ebb0de
commit 63174bbc92
4 changed files with 88 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
import {Mongo} from "meteor/mongo";
export const AssetAssignmentHistory = new Mongo.Collection('assetAssignmentHistory');
/*
Maintains a historical record of asset assignments.
assetId: The asset's assigned ID (not a MongoID).
assigneeType: One of 'Student' or 'Staff'.
assigneeId: The MongoID of the student or staff the asset was assigned to.
startDate: The date/time of the assignment.
endDate: The date/time of the unassignment.
startCondition: TODO
endCondition: TODO
*/