<?php

namespace App\Models\fcmodels;

use Illuminate\Database\Eloquent\Model;

class Bulksms extends Model
{
    // protected $primaryKey = 'bulk_sms_id';
    // protected $table = 'bulk_sms';
    // //
    protected $fillable = [
        'recipients',
        'message',
        'datetime',
        'authorized',
        'authorizer',
        'date_authorized',
        'override',
        'site',
        'scheduleDateTime',
        'scheduleSMS_status',
        'user_id'

    ];


    //  //bulksms<>contact relationship
    // public function bulkContact()
    // {
    //     return $this->belongsTo(Contact::class,'contact_id');
    // }
    // //bulksms<>org relationship
    // public function bulkOrg()
    // {
    //     return $this->belongsTo(Organization::class,'organization_id');
    // }
    protected $connection = 'mysql_fc';
    protected $table = 'bulk_sms';
    public $timestamps = false;
}
