Bases: stalker.core.models.entity.Entity
A department holds information about a studios departments. The informations that a Department object holds is like:
- The members of the department
- The lead of the department
- and all the other things those are inherited from the AuditEntity class
so creating a department object needs the following parameters:
Parameters: |
|
---|
Methods
__init__(**kwargs[, members, lead]) |
Attributes
created_by | gets and sets the User object who has created this |
date_created | gets and sets the datetime.datetime object which shows when |
date_updated | gets and sets the datetime.datetime object which shows when |
description | the description of the entity |
lead | lead is the lead of this department, it is a User object |
members | members are a list of users representing the members of this |
name | the name of the entity |
nice_name | this is the nice name of the SimpleEntity, it is a string which is a little bit more formatted than the name attribute |
tags | a list of Tag objects which shows the related tags to the |
updated_by | gets and sets the User object who has updated this |
gets and sets the User object who has created this AuditEntity
gets and sets the datetime.datetime object which shows when this object has been created
gets and sets the datetime.datetime object which shows when this object has been updated
the description of the entity
the name of the entity
this is the nice name of the SimpleEntity, it is a string which is a little bit more formatted than the name attribute
a list of Tag objects which shows the related tags to the entity
gets and sets the User object who has updated this AuditEntity