<?php

namespace App\Modules\OfficialAccount\Models;

use Illuminate\Database\Eloquent\Model;

class CustomMsgStrategy extends Model
{
    protected $tables = 'custom_msg_strategies';

    protected $guarded = [];



    static function get_distribution_custom_ids($batch_order_sn)
    {
        return self::whereNull('deleted_at')->where('batch_order_sn',$batch_order_sn)->select('distribution_channel_id', 'id', 'appid')->get();
    }
}


