*/ protected $fillable = [ 'transaction_id', 'card_acc_id', 'pan_number', 'txn_type', 'merchant_id', 'txn_amount', 'booking_date', 'trans_ref', 'retrieval_ref_no', 'stmt_nos', 'debit_acct_no', 'credit_acct_no', 'chrg_amount', 'value_date', 'stan_no', 'trans_status', 'proc_code', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'booking_date' => 'datetime', 'value_date' => 'datetime', 'txn_amount' => 'decimal:2', 'chrg_amount' => 'decimal:2', ]; }