<?php

namespace App\Modules\Channel\Models;

use Illuminate\Database\Eloquent\Model;

class YqMoveChannel extends Model
{
    protected $table = 'yq_move_channels';
    protected $fillable = [
        'id',
        'distribution_channel_id',
        'status',
        'created_at'
    ]
    ;
    
    static public function get_yq_move_channel($distribution_channel_id,$status=1){
    	return self::where(['distribution_channel_id'=>$distribution_channel_id,'status'=>$status])->first();
    }
}
