api code global jain
This commit is contained in:
38
app/Models/Sampraday.php
Normal file
38
app/Models/Sampraday.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\Traits\Sampraday\Attributes\SampradayAttributes;
|
||||
use App\Models\Traits\Sampraday\Relationships\SampradayRelationships;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Sampraday extends Model
|
||||
{
|
||||
use HasFactory, SampradayRelationships, SampradayAttributes;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'dharma_id',
|
||||
'sant_id',
|
||||
'status',
|
||||
'created_by',
|
||||
'updated_by',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'id' => 'integer',
|
||||
'status' => 'integer',
|
||||
'dharma_id' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user