1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Administrator
- * Date: 2019-04-28
- * Time: 15:30
- */
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Database\Eloquent\SoftDeletes;
- class ShopAccount extends Model {
- use SoftDeletes;
- public $table = 'shop_account';
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $fillable = ['id','account','mobile','password','status','ip','shop_id'];
- /**
- * The attributes excluded from the model's JSON form.
- *
- * @var array
- */
- protected $hidden = ['password'];
- }
|