* @since 1.0.0 */ protected static array $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 */ protected static array $hasMany = [ 'media' => [ 'mapper' => MediaMapper::class, 'table' => 'kanban_card_comment_media', 'external' => 'kanban_card_comment_media_src', 'self' => 'kanban_card_comment_media_dst', ], ]; /** * Belongs to. * * @var array * @since 1.0.0 */ protected static array $belongsTo = [ 'createdBy' => [ 'mapper' => AccountMapper::class, 'external' => 'kanban_card_comment_created_by', ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'kanban_card_comment'; /** * Created at. * * @var string * @since 1.0.0 */ protected static string $createdAt = 'kanban_card_comment_created_at'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'kanban_card_comment_id'; }