*
* Generated from xml/schema/CRM/Core/Note.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a84f607a5a29a8977287f694f05ab721)
+ * (GenCodeChecksum:5f542bdf0c411eeefbf3ec22514d7407)
*/
/**
/**
* Note ID
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $id;
* Name of table where item being referenced is stored.
*
* @var string
+ * (SQL type: varchar(64))
+ * Note that values will be retrieved from the database as a string.
*/
public $entity_table;
/**
* Foreign key to the referenced item.
*
- * @var int
+ * @var int|string
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $entity_id;
/**
* Note and/or Comment.
*
- * @var text
+ * @var string|null
+ * (SQL type: text)
+ * Note that values will be retrieved from the database as a string.
*/
public $note;
/**
* FK to Contact ID creator
*
- * @var int
+ * @var int|string|null
+ * (SQL type: int unsigned)
+ * Note that values will be retrieved from the database as a string.
*/
public $contact_id;
/**
* Date attached to the note
*
- * @var timestamp
+ * @var string|null
+ * (SQL type: timestamp)
+ * Note that values will be retrieved from the database as a string.
*/
public $note_date;
/**
* When the note was created.
*
- * @var timestamp
+ * @var string
+ * (SQL type: timestamp)
+ * Note that values will be retrieved from the database as a string.
*/
public $created_date;
/**
* When was this note last modified/edited
*
- * @var timestamp
+ * @var string|null
+ * (SQL type: timestamp)
+ * Note that values will be retrieved from the database as a string.
*/
public $modified_date;
/**
* subject of note description
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $subject;
/**
* Foreign Key to Note Privacy Level (which is an option value pair and hence an implicit FK)
*
- * @var string
+ * @var string|null
+ * (SQL type: varchar(255))
+ * Note that values will be retrieved from the database as a string.
*/
public $privacy;
'bao' => 'CRM_Core_BAO_Note',
'localizable' => 0,
'pseudoconstant' => [
- 'callback' => 'CRM_Core_BAO_Note::entityTables',
+ 'optionGroupName' => 'note_used_for',
+ 'optionEditPath' => 'civicrm/admin/options/note_used_for',
],
'add' => '1.1',
],