Master/Entities/SubDistrict.php

23 lines
446 B
PHP
Raw Normal View History

2023-06-04 14:09:39 +00:00
<?php
namespace Modules\Master\Entities;
class SubDistrict extends BaseModel
{
protected $fillable = [
'district_id',
'code',
'name',
'postal_code',
'status',
'created_by',
'updated_by',
'deleted_by',
];
2023-06-08 17:21:49 +00:00
public function district()
{
return $this->belongsTo(District::class);
}
2023-06-04 14:09:39 +00:00
}