<?php
/**
 * Created by PhpStorm.
 * User: bmb369
 * Date: 2024-05-07
 * Time: 14:20
 */
namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Support\Facades\DB;
// use App\Lib\JwtService;

class BannerModel extends Base {

    protected $table = 'yh_banner';
     use SoftDeletes;

    protected $dates = ['deleted_at'];
    protected $primaryKey = 'id';


    public function delbannerInfo($where){
        return BannerModel::where($where)->delete();//软删除，laravel搭配 deleted_at 必须用这个
    }



    

}