Skip to content

Instantly share code, notes, and snippets.

@uris77
Created May 9, 2013 14:41
Show Gist options
  • Select an option

  • Save uris77/5547872 to your computer and use it in GitHub Desktop.

Select an option

Save uris77/5547872 to your computer and use it in GitHub Desktop.
NRG Domain Modelling

Shifts

Are Shifts the same as Schedules ?

Jobs

Job:
   name: String
   label: String
   location: Location 
   
  • The jobs can vary by Location, even for the same vent, so it might be necessary to link a job to a Location.

  • I'm also thinking that when an event is being planned, the organizers don't have an idea yet of what Location a job corressponds to. Thus, having a job know about its Location may not be necessary. However, we do need to have a way of saying: These Jobs are for this Event held at this general location.

  • A user might have a job preferences per event:

class UserJobPreferences{
  User user
  Location location
  Job job
  String preferences //Love to, Seems Fun, I guess, No
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment