8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

[Printer] Update docstrings in models

This commit is contained in:
Maxime Bombar 2018-11-30 12:51:51 +01:00 committed by root
parent 3fe8dfe201
commit 94f8e21a81

View file

@ -116,14 +116,15 @@ class JobWithOptions(RevMixin, AclMixin, FieldPermissionModelMixin, models.Model
This is the main model of printer application :
- ```user``` is a ForeignKey to the User Application
- ```print_operation``` the PrintOperation wrapping this job.
- ```paid``` a boolean field to specify whether or not the job has been paid.
- ```file``` is the file to print
- ```filename``` is the name of the file to print
- ```starttime``` is the time when the job was launched
- ```endtime``` is the time when the job was stopped.
A job is stopped when it is either finished or cancelled.
- ```status``` can be running, finished or cancelled.
- ```club``` is blank in general. If the job was launched as a club then
it is the id of the club.
- ```status``` can be pending, printable, running, finished or cancelled.
- ```PrintAs``` is the user/club to whom belongs this job.
- ```price``` is the total price of this printing.
Printing Options :