* @since 1.0.0 */ protected static array $columns = [ 'qa_question_vote_id' => ['name' => 'qa_question_vote_id', 'type' => 'int', 'internal' => 'id'], 'qa_question_vote_score' => ['name' => 'qa_question_vote_score', 'type' => 'int', 'internal' => 'score'], 'qa_question_vote_question' => ['name' => 'qa_question_vote_comment', 'type' => 'int', 'internal' => 'comment', 'readonly' => true], 'qa_question_vote_created_by' => ['name' => 'qa_question_vote_created_by', 'type' => 'int', 'internal' => 'createdBy', 'readonly' => true], 'qa_question_vote_created_at' => ['name' => 'qa_question_vote_created_at', 'type' => 'DateTimeImmutable', 'internal' => 'createdAt', 'readonly' => true], ]; /** * Primary table. * * @var string * @since 1.0.0 */ protected static string $table = 'qa_question_vote'; /** * Created at. * * @var string * @since 1.0.0 */ protected static string $createdAt = 'qa_question_vote_created_at'; /** * Primary field name. * * @var string * @since 1.0.0 */ protected static string $primaryField = 'qa_question_vote_id'; }