forked from invoiceninja/invoiceninja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
1239 lines (1199 loc) · 55.6 KB
/
_ide_helper_models.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* An helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
namespace {
/**
* Client
*
* @property integer $id
* @property integer $user_id
* @property integer $account_id
* @property integer $currency_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $name
* @property string $address1
* @property string $address2
* @property string $city
* @property string $state
* @property string $postal_code
* @property integer $country_id
* @property string $work_phone
* @property string $private_notes
* @property float $balance
* @property float $paid_to_date
* @property string $last_login
* @property string $website
* @property integer $industry_id
* @property integer $size_id
* @property boolean $is_deleted
* @property integer $payment_terms
* @property integer $public_id
* @property string $custom_value1
* @property string $custom_value2
* @property string $vat_number
* @property-read \Account $account
* @property-read \Illuminate\Database\Eloquent\Collection|\Invoice[] $invoices
* @property-read \Illuminate\Database\Eloquent\Collection|\Payment[] $payments
* @property-read \Illuminate\Database\Eloquent\Collection|\Contact[] $contacts
* @property-read \Illuminate\Database\Eloquent\Collection|\Project[] $projects
* @property-read \Country $country
* @property-read \Currency $currency
* @property-read \Size $size
* @property-read \Industry $industry
* @method static \Illuminate\Database\Query\Builder|\Client whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereCurrencyId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereAddress1($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereAddress2($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereCity($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereState($value)
* @method static \Illuminate\Database\Query\Builder|\Client wherePostalCode($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereCountryId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereWorkPhone($value)
* @method static \Illuminate\Database\Query\Builder|\Client wherePrivateNotes($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereBalance($value)
* @method static \Illuminate\Database\Query\Builder|\Client wherePaidToDate($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereLastLogin($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereWebsite($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereIndustryId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereSizeId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereIsDeleted($value)
* @method static \Illuminate\Database\Query\Builder|\Client wherePaymentTerms($value)
* @method static \Illuminate\Database\Query\Builder|\Client wherePublicId($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereCustomValue1($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereCustomValue2($value)
* @method static \Illuminate\Database\Query\Builder|\Client whereVatNumber($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Client {}
}
namespace {
/**
* User
*
* @property integer $id
* @property integer $account_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $first_name
* @property string $last_name
* @property string $phone
* @property string $username
* @property string $email
* @property string $password
* @property string $confirmation_code
* @property boolean $registered
* @property boolean $confirmed
* @property integer $theme_id
* @property boolean $notify_sent
* @property boolean $notify_viewed
* @property boolean $notify_paid
* @property integer $public_id
* @property boolean $force_pdfjs
* @property string $remember_token
* @property integer $news_feed_id
* @property-read \Account $account
* @property-read \Theme $theme
* @method static \Illuminate\Database\Query\Builder|\User whereId($value)
* @method static \Illuminate\Database\Query\Builder|\User whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\User whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\User whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\User whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\User whereFirstName($value)
* @method static \Illuminate\Database\Query\Builder|\User whereLastName($value)
* @method static \Illuminate\Database\Query\Builder|\User wherePhone($value)
* @method static \Illuminate\Database\Query\Builder|\User whereUsername($value)
* @method static \Illuminate\Database\Query\Builder|\User whereEmail($value)
* @method static \Illuminate\Database\Query\Builder|\User wherePassword($value)
* @method static \Illuminate\Database\Query\Builder|\User whereConfirmationCode($value)
* @method static \Illuminate\Database\Query\Builder|\User whereRegistered($value)
* @method static \Illuminate\Database\Query\Builder|\User whereConfirmed($value)
* @method static \Illuminate\Database\Query\Builder|\User whereThemeId($value)
* @method static \Illuminate\Database\Query\Builder|\User whereNotifySent($value)
* @method static \Illuminate\Database\Query\Builder|\User whereNotifyViewed($value)
* @method static \Illuminate\Database\Query\Builder|\User whereNotifyPaid($value)
* @method static \Illuminate\Database\Query\Builder|\User wherePublicId($value)
* @method static \Illuminate\Database\Query\Builder|\User whereForcePdfjs($value)
* @method static \Illuminate\Database\Query\Builder|\User whereRememberToken($value)
* @method static \Illuminate\Database\Query\Builder|\User whereNewsFeedId($value)
*/
class User {}
}
namespace {
/**
* Size
*
* @property integer $id
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\Size whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Size whereName($value)
*/
class Size {}
}
namespace {
/**
* Country
*
* @property integer $id
* @property string $capital
* @property string $citizenship
* @property string $country_code
* @property string $currency
* @property string $currency_code
* @property string $currency_sub_unit
* @property string $full_name
* @property string $iso_3166_2
* @property string $iso_3166_3
* @property string $name
* @property string $region_code
* @property string $sub_region_code
* @property boolean $eea
* @method static \Illuminate\Database\Query\Builder|\Country whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereCapital($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereCitizenship($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereCountryCode($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereCurrency($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereCurrencyCode($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereCurrencySubUnit($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereFullName($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereIso31662($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereIso31663($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereRegionCode($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereSubRegionCode($value)
* @method static \Illuminate\Database\Query\Builder|\Country whereEea($value)
*/
class Country {}
}
namespace {
/**
* Language
*
* @property integer $id
* @property string $name
* @property string $locale
* @method static \Illuminate\Database\Query\Builder|\Language whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Language whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Language whereLocale($value)
*/
class Language {}
}
namespace {
/**
* Contact
*
* @property integer $id
* @property integer $account_id
* @property integer $user_id
* @property integer $client_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property boolean $is_primary
* @property boolean $send_invoice
* @property string $first_name
* @property string $last_name
* @property string $email
* @property string $phone
* @property string $last_login
* @property integer $public_id
* @property-read \Client $client
* @method static \Illuminate\Database\Query\Builder|\Contact whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereClientId($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereIsPrimary($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereSendInvoice($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereFirstName($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereLastName($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereEmail($value)
* @method static \Illuminate\Database\Query\Builder|\Contact wherePhone($value)
* @method static \Illuminate\Database\Query\Builder|\Contact whereLastLogin($value)
* @method static \Illuminate\Database\Query\Builder|\Contact wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Contact {}
}
namespace {
/**
* PaymentLibrary
*
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property string $name
* @property boolean $visible
* @property-read \Illuminate\Database\Eloquent\Collection|\Gateway[] $gateways
* @method static \Illuminate\Database\Query\Builder|\PaymentLibrary whereId($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentLibrary whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentLibrary whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentLibrary whereName($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentLibrary whereVisible($value)
*/
class PaymentLibrary {}
}
namespace {
/**
* Frequency
*
* @property integer $id
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\Frequency whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Frequency whereName($value)
*/
class Frequency {}
}
namespace {
/**
* InvoiceItem
*
* @property integer $id
* @property integer $account_id
* @property integer $user_id
* @property integer $invoice_id
* @property integer $product_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $product_key
* @property string $notes
* @property float $cost
* @property float $qty
* @property string $tax_name
* @property float $tax_rate
* @property integer $public_id
* @property-read \Invoice $invoice
* @property-read \Product $product
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereInvoiceId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereProductId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereProductKey($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereNotes($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereCost($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereQty($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereTaxName($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem whereTaxRate($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceItem wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class InvoiceItem {}
}
namespace {
/**
* AccountGateway
*
* @property integer $id
* @property integer $account_id
* @property integer $user_id
* @property integer $gateway_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $config
* @property integer $public_id
* @property integer $accepted_credit_cards
* @property-read \Gateway $gateway
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereId($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereGatewayId($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereConfig($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway wherePublicId($value)
* @method static \Illuminate\Database\Query\Builder|\AccountGateway whereAcceptedCreditCards($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class AccountGateway {}
}
namespace {
/**
* Theme
*
* @property integer $id
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\Theme whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Theme whereName($value)
*/
class Theme {}
}
namespace {
/**
* Payment
*
* @property integer $id
* @property integer $invoice_id
* @property integer $account_id
* @property integer $client_id
* @property integer $contact_id
* @property integer $invitation_id
* @property integer $user_id
* @property integer $account_gateway_id
* @property integer $payment_type_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property boolean $is_deleted
* @property float $amount
* @property string $payment_date
* @property string $transaction_reference
* @property string $payer_id
* @property integer $public_id
* @property-read \Invoice $invoice
* @property-read \Invitation $invitation
* @property-read \Client $client
* @property-read \Account $account
* @property-read \Contact $contact
* @method static \Illuminate\Database\Query\Builder|\Payment whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereInvoiceId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereClientId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereContactId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereInvitationId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereAccountGatewayId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment wherePaymentTypeId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereIsDeleted($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereAmount($value)
* @method static \Illuminate\Database\Query\Builder|\Payment wherePaymentDate($value)
* @method static \Illuminate\Database\Query\Builder|\Payment whereTransactionReference($value)
* @method static \Illuminate\Database\Query\Builder|\Payment wherePayerId($value)
* @method static \Illuminate\Database\Query\Builder|\Payment wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Payment {}
}
namespace {
/**
* Invoice
*
* @property integer $id
* @property integer $client_id
* @property integer $user_id
* @property integer $account_id
* @property integer $invoice_status_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $invoice_number
* @property float $discount
* @property string $po_number
* @property string $invoice_date
* @property string $due_date
* @property string $terms
* @property string $public_notes
* @property boolean $is_deleted
* @property boolean $is_recurring
* @property integer $frequency_id
* @property string $start_date
* @property string $end_date
* @property string $last_sent_date
* @property integer $recurring_invoice_id
* @property string $tax_name
* @property float $tax_rate
* @property float $amount
* @property float $balance
* @property integer $public_id
* @property integer $invoice_design_id
* @property boolean $is_quote
* @property integer $quote_id
* @property integer $quote_invoice_id
* @property float $custom_value1
* @property float $custom_value2
* @property boolean $custom_taxes1
* @property boolean $custom_taxes2
* @property-read \Account $account
* @property-read \User $user
* @property-read \Client $client
* @property-read \Illuminate\Database\Eloquent\Collection|\InvoiceItem[] $invoice_items
* @property-read \InvoiceStatus $invoice_status
* @property-read \InvoiceDesign $invoice_design
* @property-read \Illuminate\Database\Eloquent\Collection|\Invitation[] $invitations
* @method static \Illuminate\Database\Query\Builder|\Invoice whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereClientId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereInvoiceStatusId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereInvoiceNumber($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereDiscount($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice wherePoNumber($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereInvoiceDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereDueDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereTerms($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice wherePublicNotes($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereIsDeleted($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereIsRecurring($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereFrequencyId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereStartDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereEndDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereLastSentDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereRecurringInvoiceId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereTaxName($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereTaxRate($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereAmount($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereBalance($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice wherePublicId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereInvoiceDesignId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereIsQuote($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereQuoteId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereQuoteInvoiceId($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereCustomValue1($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereCustomValue2($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereCustomTaxes1($value)
* @method static \Illuminate\Database\Query\Builder|\Invoice whereCustomTaxes2($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Invoice {}
}
namespace {
/**
* Subscription
*
* @property integer $id
* @property integer $account_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property integer $event_id
* @property string $target_url
* @method static \Illuminate\Database\Query\Builder|\Subscription whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Subscription whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Subscription whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Subscription whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Subscription whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Subscription whereEventId($value)
* @method static \Illuminate\Database\Query\Builder|\Subscription whereTargetUrl($value)
*/
class Subscription {}
}
namespace {
/**
* InvoiceStatus
*
* @property integer $id
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\InvoiceStatus whereId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceStatus whereName($value)
*/
class InvoiceStatus {}
}
namespace {
/**
* Industry
*
* @property integer $id
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\Industry whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Industry whereName($value)
*/
class Industry {}
}
namespace {
/**
* Activity
*
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property integer $account_id
* @property integer $client_id
* @property integer $user_id
* @property integer $contact_id
* @property integer $payment_id
* @property integer $invoice_id
* @property integer $credit_id
* @property integer $invitation_id
* @property string $message
* @property string $json_backup
* @property integer $activity_type_id
* @property float $adjustment
* @property float $balance
* @property-read \Account $account
* @method static \Illuminate\Database\Query\Builder|\Activity whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereClientId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereContactId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity wherePaymentId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereInvoiceId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereCreditId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereInvitationId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereMessage($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereJsonBackup($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereActivityTypeId($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereAdjustment($value)
* @method static \Illuminate\Database\Query\Builder|\Activity whereBalance($value)
* @method static \Activity scope()
*/
class Activity {}
}
namespace {
/**
* Timesheet
*
* @property integer $id
* @property integer $user_id
* @property integer $account_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $start_date
* @property string $end_date
* @property float $discount
* @property float $hours
* @property integer $public_id
* @property-read \Account $account
* @property-read \User $user
* @property-read \Illuminate\Database\Eloquent\Collection|\TimeSheetEvent[] $timesheet_events
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereStartDate($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereEndDate($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereDiscount($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet whereHours($value)
* @method static \Illuminate\Database\Query\Builder|\Timesheet wherePublicId($value)
*/
class Timesheet {}
}
namespace {
/**
* Credit
*
* @property integer $id
* @property integer $account_id
* @property integer $client_id
* @property integer $user_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property boolean $is_deleted
* @property float $amount
* @property float $balance
* @property string $credit_date
* @property string $credit_number
* @property string $private_notes
* @property integer $public_id
* @property-read \Invoice $invoice
* @property-read \Client $client
* @method static \Illuminate\Database\Query\Builder|\Credit whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereClientId($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereIsDeleted($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereAmount($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereBalance($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereCreditDate($value)
* @method static \Illuminate\Database\Query\Builder|\Credit whereCreditNumber($value)
* @method static \Illuminate\Database\Query\Builder|\Credit wherePrivateNotes($value)
* @method static \Illuminate\Database\Query\Builder|\Credit wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Credit {}
}
namespace {
/**
* Product
*
* @property integer $id
* @property integer $account_id
* @property integer $user_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $product_key
* @property string $notes
* @property float $cost
* @property float $qty
* @property integer $public_id
* @method static \Illuminate\Database\Query\Builder|\Product whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereProductKey($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereNotes($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereCost($value)
* @method static \Illuminate\Database\Query\Builder|\Product whereQty($value)
* @method static \Illuminate\Database\Query\Builder|\Product wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Product {}
}
namespace {
/**
* PaymentTerm
*
* @property integer $id
* @property integer $num_days
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\PaymentTerm whereId($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentTerm whereNumDays($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentTerm whereName($value)
*/
class PaymentTerm {}
}
namespace {
/**
* EntityModel
*
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class EntityModel {}
}
namespace {
/**
* Timezone
*
* @property integer $id
* @property string $name
* @property string $location
* @method static \Illuminate\Database\Query\Builder|\Timezone whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Timezone whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Timezone whereLocation($value)
*/
class Timezone {}
}
namespace {
/**
* ProjectCode
*
* @property integer $id
* @property integer $user_id
* @property integer $account_id
* @property integer $project_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $name
* @property string $description
* @property-read \Account $account
* @property-read \User $user
* @property-read \Project $project
* @property-read \Illuminate\Database\Eloquent\Collection|\TimesheetEvent[] $events
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereId($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereProjectId($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereName($value)
* @method static \Illuminate\Database\Query\Builder|\ProjectCode whereDescription($value)
*/
class ProjectCode {}
}
namespace {
/**
* Invitation
*
* @property integer $id
* @property integer $account_id
* @property integer $user_id
* @property integer $contact_id
* @property integer $invoice_id
* @property string $invitation_key
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $transaction_reference
* @property string $sent_date
* @property string $viewed_date
* @property integer $public_id
* @property-read \Invoice $invoice
* @property-read \Contact $contact
* @property-read \User $user
* @method static \Illuminate\Database\Query\Builder|\Invitation whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereContactId($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereInvoiceId($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereInvitationKey($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereTransactionReference($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereSentDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation whereViewedDate($value)
* @method static \Illuminate\Database\Query\Builder|\Invitation wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class Invitation {}
}
namespace {
/**
* Currency
*
* @property integer $id
* @property string $name
* @property string $symbol
* @property string $precision
* @property string $thousand_separator
* @property string $decimal_separator
* @property string $code
* @method static \Illuminate\Database\Query\Builder|\Currency whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Currency whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Currency whereSymbol($value)
* @method static \Illuminate\Database\Query\Builder|\Currency wherePrecision($value)
* @method static \Illuminate\Database\Query\Builder|\Currency whereThousandSeparator($value)
* @method static \Illuminate\Database\Query\Builder|\Currency whereDecimalSeparator($value)
* @method static \Illuminate\Database\Query\Builder|\Currency whereCode($value)
*/
class Currency {}
}
namespace {
/**
* InvoiceDesign
*
* @property integer $id
* @property string $name
* @property string $javascript
* @method static \Illuminate\Database\Query\Builder|\InvoiceDesign whereId($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceDesign whereName($value)
* @method static \Illuminate\Database\Query\Builder|\InvoiceDesign whereJavascript($value)
*/
class InvoiceDesign {}
}
namespace {
/**
* DatetimeFormat
*
* @property integer $id
* @property string $format
* @property string $label
* @method static \Illuminate\Database\Query\Builder|\DatetimeFormat whereId($value)
* @method static \Illuminate\Database\Query\Builder|\DatetimeFormat whereFormat($value)
* @method static \Illuminate\Database\Query\Builder|\DatetimeFormat whereLabel($value)
*/
class DatetimeFormat {}
}
namespace {
/**
* Affiliate
*
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $name
* @property string $affiliate_key
* @property string $payment_title
* @property string $payment_subtitle
* @method static \Illuminate\Database\Query\Builder|\Affiliate whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate whereAffiliateKey($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate wherePaymentTitle($value)
* @method static \Illuminate\Database\Query\Builder|\Affiliate wherePaymentSubtitle($value)
*/
class Affiliate {}
}
namespace {
/**
* TaxRate
*
* @property integer $id
* @property integer $account_id
* @property integer $user_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $name
* @property float $rate
* @property integer $public_id
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereId($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereAccountId($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereUserId($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereName($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate whereRate($value)
* @method static \Illuminate\Database\Query\Builder|\TaxRate wherePublicId($value)
* @method static \EntityModel scope($publicId = false, $accountId = false)
*/
class TaxRate {}
}
namespace {
/**
* Gateway
*
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property string $name
* @property string $provider
* @property boolean $visible
* @property integer $payment_library_id
* @property integer $sort_order
* @property boolean $recommended
* @property string $site_url
* @property-read \PaymentLibrary $paymentlibrary
* @method static \Illuminate\Database\Query\Builder|\Gateway whereId($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereName($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereProvider($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereVisible($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway wherePaymentLibraryId($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereSortOrder($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereRecommended($value)
* @method static \Illuminate\Database\Query\Builder|\Gateway whereSiteUrl($value)
*/
class Gateway {}
}
namespace {
/**
* PaymentType
*
* @property integer $id
* @property string $name
* @method static \Illuminate\Database\Query\Builder|\PaymentType whereId($value)
* @method static \Illuminate\Database\Query\Builder|\PaymentType whereName($value)
*/
class PaymentType {}
}
namespace {
/**
* License
*
* @property integer $id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property integer $affiliate_id
* @property string $first_name
* @property string $last_name
* @property string $email
* @property string $license_key
* @property boolean $is_claimed
* @property string $transaction_reference
* @method static \Illuminate\Database\Query\Builder|\License whereId($value)
* @method static \Illuminate\Database\Query\Builder|\License whereCreatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\License whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\License whereDeletedAt($value)
* @method static \Illuminate\Database\Query\Builder|\License whereAffiliateId($value)
* @method static \Illuminate\Database\Query\Builder|\License whereFirstName($value)
* @method static \Illuminate\Database\Query\Builder|\License whereLastName($value)
* @method static \Illuminate\Database\Query\Builder|\License whereEmail($value)
* @method static \Illuminate\Database\Query\Builder|\License whereLicenseKey($value)
* @method static \Illuminate\Database\Query\Builder|\License whereIsClaimed($value)
* @method static \Illuminate\Database\Query\Builder|\License whereTransactionReference($value)
*/
class License {}
}
namespace {
/**
* DateFormat
*
* @property integer $id
* @property string $format
* @property string $picker_format
* @property string $label
* @method static \Illuminate\Database\Query\Builder|\DateFormat whereId($value)
* @method static \Illuminate\Database\Query\Builder|\DateFormat whereFormat($value)
* @method static \Illuminate\Database\Query\Builder|\DateFormat wherePickerFormat($value)
* @method static \Illuminate\Database\Query\Builder|\DateFormat whereLabel($value)
*/
class DateFormat {}
}
namespace {
/**
* TimesheetEvent
*
* @property integer $id
* @property integer $user_id
* @property integer $account_id
* @property integer $timesheet_event_source_id
* @property integer $timesheet_id
* @property integer $project_id
* @property integer $project_code_id
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property \Carbon\Carbon $deleted_at
* @property string $uid
* @property string $summary
* @property string $description
* @property string $location
* @property string $owner
* @property string $start_date
* @property string $end_date
* @property float $hours
* @property float $discount
* @property boolean $manualedit
* @property string $org_code
* @property string $org_created_at