krzykrucz/e-lesson

End the lesson - domain

Closed this issue · 4 comments

End the lesson - domain

@krzykrucz how are we going to represent Bells ? It's required to check if bell already rang before finishing the lesson. I can implement it as a dependency with some dumb implementation though

@krzykrucz how are we going to represent Bells ? It's required to check if bell already rang before finishing the lesson. I can implement it as a dependency with some dumb implementation though

just check if now is no later than 45 minutes after lesson hour number start time (it's inside the lesson)

just check if now is no later than 45 minutes after lesson hour number start time (it's inside the lesson)

@krzykrucz according to model, I guess the input to FinishWorkflow process should be InProgressLesson and Time but InProgressLesson doesn't have lesson hour number, did I understand it correctly?

nvm, I found the way