stalker.core.models.typeEntity.TypeEntity

Inheritance diagram of stalker.core.models.typeEntity.TypeEntity

class stalker.core.models.typeEntity.TypeEntity(**kwargs)[source]

Bases: stalker.core.models.entity.Entity

TypeEntity is the entry point for types.

It is created to group the Type objects, so any other classes accepting a TypeEntity object can have one of the derived classes, this is done in that way mainly to ease the of creation of only one TypeTemplate class and let the others to use this one TypeTemplate class.

It doesn’t add any new parameters to it’s super.

__init__(**kwargs)[source]

Methods

__init__(**kwargs)

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
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
created_by

gets and sets the User object who has created this AuditEntity

date_created

gets and sets the datetime.datetime object which shows when this object has been created

date_updated

gets and sets the datetime.datetime object which shows when this object has been updated

description

the description of the entity

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 entity

updated_by

gets and sets the User object who has updated this AuditEntity

Previous topic

stalker.core.models.typeEntity.ProjectType

Next topic

stalker.core.models.user

This Page