init project
This commit is contained in:
37
app/Models/SampleSourceTelegram.php
Normal file
37
app/Models/SampleSourceTelegram.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
use App\Enums\RecordStatusEnum;
|
||||
use DateTime;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
|
||||
class SampleSourceTelegram extends BaseModel
|
||||
{
|
||||
public $timestamps = false;
|
||||
use HasFactory;
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
|
||||
protected $table = 'sample_source_telegram';
|
||||
|
||||
protected $fillable =
|
||||
[
|
||||
'sample_source_id',
|
||||
'chat_id',
|
||||
self::CREATED_AT_FIELD,
|
||||
self::CREATED_BY_FIELD,
|
||||
self::UPDATED_BY_FIELD,
|
||||
BaseModel::RECORD_STATUS_FIELD
|
||||
];
|
||||
|
||||
public static function boot()
|
||||
{
|
||||
parent::boot();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user