<?php

namespace App\Modules\OfficialAccount\Models;

use Illuminate\Database\Eloquent\Model;

class DistributionReply extends Model
{
    protected $tables = 'distribution_replies';

    protected $fillable = ['distribution_channel_id','reply_bids','status','created_at','updated_at'];


    static function getDistributionReply($distribution_channel_id)
    {
        return self::where(['distribution_channel_id'=>$distribution_channel_id,'status'=>1])->first();
    }

}


