* @since 1.0.0 */ public const COLUMNS = [ 'kanban_card_comment_id' => ['name' => 'kanban_card_comment_id', 'type' => 'int', 'internal' => 'id'], 'kanban_card_comment_description' => ['name' => 'kanban_card_comment_description', 'type' => 'string', 'internal' => 'description'], 'kanban_card_comment_descriptionraw' => ['name' => 'kanban_card_comment_descriptionraw', 'type' => 'string', 'internal' => 'descriptionRaw'], 'kanban_card_comment_card' => ['name' => 'kanban_card_comment_card', 'type' => 'int', 'internal' => 'card'], 'kanban_card_comment_created_at' => ['name' => 'kanban_card_comment_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true], 'kanban_card_comment_created_by' => ['name' => 'kanban_card_comment_created_by', 'type' => 'int', 'internal' => 'createdBy', 'readonly' => true], ]; /** * Has many relation. * * @var array * @since 1.0.0 */ public const HAS_MANY = [ 'media' => [ 'mapper' => MediaMapper::class, 'table' => 'kanban_card_comment_media', 'external' => 'kanban_card_comment_media_dst', 'self' => 'kanban_card_comment_media_src', ], ]; /** * Belongs to. * * @var array * @since 1.0.0 */ public const BELONGS_TO = [ 'createdBy' => [ 'mapper' => AccountMapper::class, 'external' => 'kanban_card_comment_created_by', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ public const TABLE = 'kanban_card_comment'; /** * Created at. * * @var string * @since 1.0.0 */ public const CREATED_AT = 'kanban_card_comment_created_at'; /** * Primary field name. * * @var string * @since 1.0.0 */ public const PRIMARYFIELD ='kanban_card_comment_id'; }