* @since 1.0.0 */ protected static array $columns = [ 'comments_list_id' => ['name' => 'comments_list_id', 'type' => 'int', 'internal' => 'id'], 'comments_list_status' => ['name' => 'comments_list_status', 'type' => 'bool', 'internal' => 'isActive'], ]; /** * Has many relation. * * @var array * @since 1.0.0 */ protected static array $hasMany = [ 'comments' => [ 'mapper' => CommentMapper::class, 'table' => 'comments_comment', 'external' => 'comments_comment_list', 'self' => null, ], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'comments_list'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'comments_list_id'; }