You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
660 B
24 lines
660 B
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class Organization extends Model
|
|
{
|
|
use HasFactory, SoftDeletes;
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $fillable = ['name', 'intro', 'parent_id', 'address', 'hotline', 'logo', 'email', 'status', 'province_alias', 'district_alias', 'updated_by', 'created_by'];
|
|
/**
|
|
* The attributes that should be mutated to dates.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $dates = ['start_date', 'end_date', 'created_at'];
|
|
}
|
|
|