• Модуль: mail
  • Путь к файлу: ~/bitrix/modules/mail/lib/mailmessageuid.php
  • Класс: BitrixMailMailMessageUidTable
  • Вызов: MailMessageUidTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'string',
			'primary'   => true,
		),
		'MAILBOX_ID' => array(
			'data_type' => 'integer',
			'primary'   => true,
		),
		'DIR_MD5' => array(
			'data_type' => 'string',
		),
		'DIR_UIDV' => array(
			'data_type' => 'integer',
		),
		'MSG_UID' => array(
			'data_type' => 'integer',
		),
		'INTERNALDATE' => array(
			'data_type' => 'datetime',
		),
		'HEADER_MD5' => array(
			'data_type' => 'string',
		),
		'IS_SEEN' => array(
			'data_type' => 'enum',
			'values'    => array('Y', 'N', 'S', 'U'),
		),
		'IS_OLD' => array(
			'data_type' => 'enum',
			'values'    => array(self::OLD, self::RECENT, self::DOWNLOADED, self::MOVING, self::REMOTE),
		),
		'SESSION_ID' => array(
			'data_type' => 'string',
			'required'  => true,
		),
		'TIMESTAMP_X' => array(
			'data_type' => 'datetime',
		),
		'DATE_INSERT' => array(
			'data_type' => 'datetime',
			'required'  => true,
		),
		'MESSAGE_ID' => array(
			'data_type' => 'integer',
			'required'  => true,
		),
		'MAILBOX' => array(
			'data_type' => 'BitrixMailMailbox',
			'reference' => array('=this.MAILBOX_ID' => 'ref.ID'),
		),
		'MESSAGE' => array(
			'data_type' => 'BitrixMailMailMessage',
			'reference' => array('=this.MESSAGE_ID' => 'ref.ID'),
		),
		'DELETE_TIME' => array(
			'data_type' => 'integer',
			'default' => 0,
		),
	);
}