Skip to content

Instantly share code, notes, and snippets.

@cuipengfei
Last active October 12, 2018 03:30
Show Gist options
  • Save cuipengfei/56e75c2a6e27f0c29d69c2e354a73174 to your computer and use it in GitHub Desktop.
Save cuipengfei/56e75c2a6e27f0c29d69c2e354a73174 to your computer and use it in GitHub Desktop.

第一版 第一修正案

1 lead derives patrol

one lead derives(衍生) one patrol when it is put into one schedule

one lead could be put into multiple schedules, hence it could derive(衍生) multiple patrols

2 schedule includes patrols

one lead could be put into a schedule as a patrol under the following conditions: a. this schedule does not include a patrol of this lead yet b. this schedule includes a patrol of this lead, but this patrol is in skipped or ended status under any other conditions, a lead should not be allowed to be added into a schedule.

3 officer works on schedule

one schedule could have multiple officers working on it

4 officer manages patrol lifecycle

an officer that is working on a schedule has the right to manage lifecycle of all patrols inside this schedule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment