main-backend/php_code/app/Models/DistrictSetting.php
2026-07-02 11:39:14 +00:00

28 lines
632 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class DistrictSetting extends Model
{
use HasFactory;
// Explicitly define the table name (optional, but good practice)
protected $table = 'district_settings';
// Allow mass assignment for the form fields
protected $fillable = [
'region_name',
'district_id',
'district_name',
'assembly_type',
'abbreviation',
'contact_phone',
'contact_email',
'outgoing_email',
'display_name',
'sms_sender_name',
];
}