1234567891011121314151617181920212223 |
- <?php
-
- /**
- * Created by PhpStorm.
- * User: guanxl
- * Date: 2018/3/19
- * Time: 18:43
- */
- namespace App\Models;
-
- use Illuminate\Database\Eloquent\Model;
-
- class Department extends Model
- {
- protected $table = "bs_departments";
- protected $primaryKey = "department_id";
-
- protected $dateFormat = 'U';
- const CREATED_AT = "create_time";
- const UPDATED_AT = "update_time";
-
- public $fillable=["corp_id","activity_id","department_name","status"];
- }
|