inital commit

This commit is contained in:
2024-02-01 09:53:53 +00:00
commit 9743fce12b
19771 changed files with 4230637 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class RandDVotingPaperAnswer extends Model
{
protected $table = 'randd_voting_paper_answers';
protected $fillable = [
'vote_id',
'score',
'score_type',
'description',
'user_id',
'q_id',
'q_fa',
'fullname'
];
public function vote()
{
return $this->belongsTo(RandDVoting::class, 'vote_id', 'id');
}
public function user()
{
return $this->belongsTo(User::class);
}
}