ObjectTypeDO

/**
* @brief DO class: An object type.
*/

Primary key: object: int

schema ObjectTypeDO {
  @primary object: int,
  tp: int
}

ObjectTypeDO::getTp

/**
* @brief gets the tp of this element.
* @return int
*/
pub fn getTp(self: ObjectTypeDO) -> int;

ObjectTypeDO::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *ObjectTypeDO;