RUFAS.routines.animal.life_cycle.pen_history module#
- class RUFAS.routines.animal.life_cycle.pen_history.PenHistory#
Bases:
TypedDict
A class to represent the history of a pen on a farm.
This class tracks the usage of a pen including the start and end dates, the specific pen, and the classes of animals that have been in the pen.
Attributes#
- start_dateint
The start date of the pen’s usage.
- end_dateint
The end date of the pen’s usage.
- penint
The id of the pen that the animal is in.
- classes_in_penlist[str]
The classes of animals that have been in the pen.
- start_date: int#
- end_date: int#
- pen: int#
- classes_in_pen: list[str]#