Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| TblQuotationSends | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Models; |
| 4 | |
| 5 | use Illuminate\Database\Eloquent\Model; |
| 6 | |
| 7 | /** |
| 8 | * One row per send of a quotation. See the create migration for what counts as |
| 9 | * a send; App\Services\QuotationSendRecorder is the only writer. |
| 10 | */ |
| 11 | class TblQuotationSends extends Model |
| 12 | { |
| 13 | protected $table = 'tbl_quotation_sends'; |
| 14 | |
| 15 | public $timestamps = false; |
| 16 | |
| 17 | protected $fillable = [ |
| 18 | 'quotation_id', |
| 19 | 'sent_at', |
| 20 | 'channel', |
| 21 | 'user', |
| 22 | 'amount', |
| 23 | 'status', |
| 24 | 'source', |
| 25 | 'source_ref', |
| 26 | 'created_at', |
| 27 | ]; |
| 28 | } |