-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
1047 lines (1025 loc) · 63.1 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
// @formatter:off
/**
* A 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 App\Models{
/**
* App\Models\AnalysisAgg
*
* @property-read \App\Models\Sample $sample
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisAgg newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisAgg newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisAgg query()
* @mixin \Eloquent
* @property int $id
* @property string $sample_id
* @property string|null $weight_soil
* @property string|null $weight_cloth
* @property string|null $weight_stones2mm
* @property string|null $weight_2mm_aggreg
* @property string|null $weight_cloth_250micron
* @property string|null $weight_250micron_aggreg
* @property string|null $pct_stones
* @property string|null $twomm_aggreg_pct
* @property string|null $twofiftymicr_aggreg_pct
* @property string|null $twomm_aggreg_pct_result
* @property string|null $twofiftymicron_aggreg_pct_result
* @property string|null $percent_stones
* @property string|null $total_stableaggregates
* @property string|null $total_check
* @property string|null $validation_check
* @property string $analysis_date
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $project_submission_id
* @property-read \App\Models\ProjectSubmission $project_submission
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereAnalysisDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg wherePctStones($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg wherePercentStones($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereProjectSubmissionId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereSampleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereTotalCheck($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereTotalStableaggregates($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereTwofiftymicrAggregPct($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereTwofiftymicronAggregPctResult($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereTwommAggregPct($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereTwommAggregPctResult($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereValidationCheck($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereWeight250micronAggreg($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereWeight2mmAggreg($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereWeightCloth($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereWeightCloth250micron($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereWeightSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisAgg whereWeightStones2mm($value)
*/
class AnalysisAgg extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\AnalysisP
*
* @property int $id
* @property string|null $sample_id
* @property string|null $analysis_date
* @property float|null $weight_soil
* @property float|null $vol_extract
* @property float|null $vol_topup
* @property string|null $cloudy
* @property float|null $color
* @property float|null $raw_conc
* @property float|null $olsen_p
* @property float $blank_water
* @property int $correct_moisture
* @property float|null $moisture
* @property float|null $olsen_p_corrected
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $result
* @property-read \App\Models\Sample|null $sample
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereAnalysisDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereBlankWater($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereCloudy($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereCorrectMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereOlsenP($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereOlsenPCorrected($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereRawConc($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereSampleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereVolExtract($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereVolTopup($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereWeightSoil($value)
* @mixin \Eloquent
* @property int $project_submission_id
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisP whereProjectSubmissionId($value)
* @property string|null $photo
* @property string|null $raw_conc_rounded
* @property string|null $moisture_rounded
* @property string|null $moisture_level_as_percentage
* @property string|null $soil_conc_rounded
* @property string|null $reagents
* @property-read \App\Models\ProjectSubmission $project_submission
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisP whereMoistureLevelAsPercentage($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisP whereMoistureRounded($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisP wherePhoto($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisP whereRawConcRounded($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisP whereReagents($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisP whereSoilConcRounded($value)
*/
class AnalysisP extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\AnalysisPh
*
* @property int $id
* @property string $sample_id
* @property string|null $analysis_date
* @property float|null $weight_soil
* @property float|null $vol_water
* @property float|null $reading_ph
* @property string|null $stability
* @property string|null $start
* @property string|null $end
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $result
* @property-read \App\Models\Sample $sample
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereAnalysisDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereEnd($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereReadingPh($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereSampleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereStability($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereStart($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereVolWater($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereWeightSoil($value)
* @mixin \Eloquent
* @property int $project_submission_id
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPh whereProjectSubmissionId($value)
* @property-read \App\Models\ProjectSubmission $project_submission
*/
class AnalysisPh extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\AnalysisPom
*
* @property int $id
* @property string $sample_id
* @property float|null $weight_soil
* @property float|null $diameter_circ_pom
* @property int|null $weigh_pom_yn
* @property float|null $weight_cloth
* @property float|null $weight_pom
* @property float|null $percent_pom
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $result
* @property-read \App\Models\Sample $sample
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereDiameterCircPom($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom wherePercentPom($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereSampleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereWeighPomYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereWeightCloth($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereWeightPom($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereWeightSoil($value)
* @mixin \Eloquent
* @property int $project_submission_id
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPom whereProjectSubmissionId($value)
* @property string|null $analysis_date
* @property-read \App\Models\ProjectSubmission $project_submission
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisPom whereAnalysisDate($value)
*/
class AnalysisPom extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\AnalysisPoxc
*
* @property int $id
* @property string|null $analysis_date
* @property string $sample_id
* @property float|null $weight_soil
* @property float|null $color
* @property float|null $color100
* @property float|null $conc_digest
* @property string|null $cloudy
* @property float|null $colorimeter
* @property float|null $raw_conc
* @property float|null $poxc_sample
* @property float|null $poxc_soil
* @property int $correct_moisture
* @property float|null $moisture
* @property float|null $poxc_soil_corrected
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read mixed $average_array
* @property-read mixed $result
* @property-read \App\Models\Sample $sample
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereAnalysisDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereCloudy($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereColor100($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereColorimeter($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereConcDigest($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereCorrectMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc wherePoxcSample($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc wherePoxcSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc wherePoxcSoilCorrected($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereRawConc($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereSampleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereWeightSoil($value)
* @mixin \Eloquent
* @property int $project_submission_id
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\AnalysisPoxc whereProjectSubmissionId($value)
* @property string|null $photo
* @property string|null $pct_reduction_color
* @property-read \App\Models\ProjectSubmission $project_submission
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisPoxc wherePctReductionColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|AnalysisPoxc wherePhoto($value)
*/
class AnalysisPoxc extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Contactus
*
* @property int $id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property string|null $name
* @property string|null $email
* @property string|null $message
* @method static \Illuminate\Database\Eloquent\Builder|Contactus newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Contactus newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|Contactus query()
* @method static \Illuminate\Database\Eloquent\Builder|Contactus whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|Contactus whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|Contactus whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|Contactus whereMessage($value)
* @method static \Illuminate\Database\Eloquent\Builder|Contactus whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|Contactus whereUpdatedAt($value)
*/
class Contactus extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\DataMap
*
* @property string $id
* @property string $title
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Xlsform[] $xls_forms
* @property-read int|null $xls_forms_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\DataMap whereUpdatedAt($value)
* @mixin \Eloquent
* @property array|null $variables
* @property string|null $model
* @property int $location
* @method static \Illuminate\Database\Eloquent\Builder|DataMap whereLocation($value)
* @method static \Illuminate\Database\Eloquent\Builder|DataMap whereModel($value)
* @method static \Illuminate\Database\Eloquent\Builder|DataMap whereVariables($value)
*/
class DataMap extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\FarmerField
*
* @property int $id
* @property int $project_submission_id
* @property string $uuid
* @property string $country_id
* @property string $village_community
* @property string $farmer_name
* @property string $size
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $project_id
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\NutrientBalance[] $nutrient_balances
* @property-read int|null $nutrient_balances_count
* @property-read \App\Models\Project $project
* @property-read \App\Models\ProjectSubmission $project_submission
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField query()
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereCountryId($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereFarmerName($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereProjectSubmissionId($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereSize($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereUuid($value)
* @method static \Illuminate\Database\Eloquent\Builder|FarmerField whereVillageCommunity($value)
*/
class FarmerField extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Invite
*
* @property int $id
* @property string $email
* @property int $inviter_id
* @property int $project_id
* @property string $key_confirm
* @property int $is_confirmed
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereInviterId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereIsConfirmed($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereKeyConfirm($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Invite whereUpdatedAt($value)
* @mixin \Eloquent
* @property-read mixed $invite_day
* @property-read \App\Models\User $inviter
* @property-read \App\Models\Project $project
* @property string $token
* @method static \Illuminate\Database\Eloquent\Builder|Invite whereToken($value)
*/
class Invite extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\NutrientBalance
*
* @property int $id
* @property int $farmer_field_id
* @property string $year
* @property string $tot_org_Ninput
* @property string $tot_org_Pinput
* @property string $tot_org_Kinput
* @property string $tot_inorg_Ninput
* @property string $tot_inorg_Pinput
* @property string $tot_inorg_Kinput
* @property string $Total_cropNexport
* @property string $Total_cropPexport
* @property string $Total_cropKexport
* @property string $balance_N
* @property string $balance_P
* @property string $balance_K
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property int $project_id
* @property-read \App\Models\FarmerField $farmer_field
* @property-read \App\Models\Project $project
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance query()
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereBalanceK($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereBalanceN($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereBalanceP($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereFarmerFieldId($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotInorgKinput($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotInorgNinput($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotInorgPinput($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotOrgKinput($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotOrgNinput($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotOrgPinput($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotalCropKexport($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotalCropNexport($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereTotalCropPexport($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|NutrientBalance whereYear($value)
*/
class NutrientBalance extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Project
*
* @property int $id
* @property int $creator_id
* @property string $name
* @property string $slug
* @property string $description
* @property string $avatar
* @property \Illuminate\Support\Carbon|null $deleted_at
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property bool $share_data
* @property-read mixed $admins
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Sample[] $samples
* @property-read int|null $samples_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Submission[] $submissions
* @property-read int|null $submissions_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\User[] $users
* @property-read int|null $users_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Xlsform[] $xls_forms
* @property-read int|null $xls_forms_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project newQuery()
* @method static \Illuminate\Database\Query\Builder|\App\Models\Project onlyTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereCreatorId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereShareData($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Project whereUpdatedAt($value)
* @method static \Illuminate\Database\Query\Builder|\App\Models\Project withTrashed()
* @method static \Illuminate\Database\Query\Builder|\App\Models\Project withoutTrashed()
* @mixin \Eloquent
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Invite[] $invites
* @property-read int|null $invites_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\ProjectXlsform[] $project_xlsforms
* @property-read int|null $project_xlsforms_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Views\SampleMerged[] $samples_merged
* @property-read int|null $samples_merged_count
* @property array|null $identifiers
* @property string $merged_view
* @property int $highR does this project want split LR and HR results for the Olsen P analysis?
* @property int $customR does this project want extra output columns for Custom R resutls for the Olsen P analysis?
* @property-read \App\Models\User $creator
* @method static \Illuminate\Database\Eloquent\Builder|Project whereCustomR($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereHighR($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereIdentifiers($value)
* @method static \Illuminate\Database\Eloquent\Builder|Project whereMergedView($value)
*/
class Project extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\ProjectSubmission
*
* @property int $id
* @property string $uuid
* @property string $submitted_at
* @property int $project_xlsform_id
* @property mixed $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\ProjectXlsform $project_xlsform
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereProjectXlsformId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereSubmittedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectSubmission whereUuid($value)
* @mixin \Eloquent19
* @property int $project_id
* @property \Illuminate\Support\Carbon|null $deleted_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisAgg[] $analysis_agg
* @property-read int|null $analysis_agg_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisP[] $analysis_p
* @property-read int|null $analysis_p_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisPh[] $analysis_ph
* @property-read int|null $analysis_ph_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisPom[] $analysis_pom
* @property-read int|null $analysis_pom_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisPoxc[] $analysis_poxc
* @property-read int|null $analysis_poxc_count
* @property-read mixed $sample_id
* @property-read \App\Models\Project $project
* @property-read \Illuminate\Database\Eloquent\Collection|\Venturecraft\Revisionable\Revision[] $revisionHistory
* @property-read int|null $revision_history_count
* @method static \Illuminate\Database\Query\Builder|ProjectSubmission onlyTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|ProjectSubmission whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|ProjectSubmission whereProjectId($value)
* @method static \Illuminate\Database\Query\Builder|ProjectSubmission withTrashed()
* @method static \Illuminate\Database\Query\Builder|ProjectSubmission withoutTrashed()
*/
class ProjectSubmission extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\ProjectXlsform
*
* @property int $id
* @property int $project_id
* @property int $xlsform_id
* @property string|null $kobo_version_id
* @property int $records
* @property string|null $kobo_id
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Project[] $project
* @property-read int|null $project_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Xlsform[] $xls_form
* @property-read int|null $xls_form_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereDeployed($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereKoboId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereRecords($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereXlsformId($value)
* @mixin \Eloquent
* @property int $processing If true, this entire entry should not be editable
* @property int $is_active If true, this project-form is deployed and active on Kobotoolbox
* @property string|null $enketo_url If null; for mis not currently deployed/active on Kobo
* @property-read mixed $title
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\ProjectSubmission[] $project_submissions
* @property-read int|null $project_submissions_count
* @property-read \App\Models\Xlsform $xlsform
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereEnketoUrl($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereIsActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereKoboVersionId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\ProjectXlsform whereProcessing($value)
* @property string|null $kobo_media array of media ids for any media attachments to this file on kobotoolbox. Required to allow easy deletion of files when new versions are uploaded
* @method static \Illuminate\Database\Eloquent\Builder|ProjectXlsform whereKoboMedia($value)
*/
class ProjectXlsform extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\QrCode
*
* @property int $id
* @property string $code
* @property string|null $farm_id
* @property string $status
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode whereCode($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode whereFarmId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\QrCode whereUpdatedAt($value)
* @mixin \Eloquent
*/
class QrCode extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Sample
*
* @property string $id
* @property string|null $username
* @property int|null $site_id
* @property string|null $date
* @property int|null $depth
* @property string|null $texture
* @property int|null $at_plot
* @property string|null $plot_photo
* @property float|null $longitude
* @property float|null $latitude
* @property float|null $altitude
* @property float|null $accuracy
* @property string|null $comment
* @property string|null $community_quick
* @property int $project_id
* @property string|null $farmer_quick
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisP[] $analysis_p
* @property-read int|null $analysis_p_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisPh[] $analysis_ph
* @property-read int|null $analysis_ph_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisPom[] $analysis_pom
* @property-read int|null $analysis_pom_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisPoxc[] $analysis_poxc
* @property-read int|null $analysis_poxc_count
* @property-read mixed $poxc_result
* @property-read \App\Models\Project $project
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereAccuracy($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereAltitude($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereAtPlot($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereComment($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereCommunityQuick($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereDepth($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereFarmerQuick($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereLatitude($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereLongitude($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample wherePlotPhoto($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereSiteId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereTexture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereUsername($value)
* @mixin \Eloquent
* @property int|null $plot_id
* @property int $project_submission_id
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\AnalysisAgg[] $analysis_agg
* @property-read int|null $analysis_agg_count
* @property-read mixed $p_result
* @property-read mixed $ph_result
* @property-read mixed $pom_result
* @property-read \App\Models\Views\SampleMerged|null $samples_merged
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample wherePlotId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Sample whereProjectSubmissionId($value)
* @property array|null $identifiers
* @property string|null $simple_texture
* @property int|null $ball_yn
* @property int|null $ribbon_yn
* @property string|null $ribbon_break_length
* @property string|null $usda_gritty
* @property string|null $final_texture_type_usda
* @property string|null $second_texture_type_usda
* @property int|null $ball_yn_fao
* @property int|null $sausage_yn_fao
* @property int|null $pencil_fao_yn
* @property int|null $halfcircle_fao_yn
* @property string|null $soil_circle_choice
* @property string|null $final_texture_type_fao
* @property string|null $second_texture_type_fao
* @property-read mixed $custom_r_p_result
* @property-read mixed $hr_p_result
* @property-read mixed $lr_p_result
* @property-read mixed $pom_diameter
* @property-read mixed $pom_percent
* @property-read mixed $total_stableaggregates
* @property-read mixed $twofiftymicron_aggreg_pct_result
* @property-read mixed $twomm_aggreg_pct_result
* @property-read \App\Models\ProjectSubmission $project_submission
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereBallYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereBallYnFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereFinalTextureTypeFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereFinalTextureTypeUsda($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereHalfcircleFaoYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereIdentifiers($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample wherePencilFaoYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereRibbonBreakLength($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereRibbonYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereSausageYnFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereSecondTextureTypeFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereSecondTextureTypeUsda($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereSimpleTexture($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereSoilCircleChoice($value)
* @method static \Illuminate\Database\Eloquent\Builder|Sample whereUsdaGritty($value)
*/
class Sample extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Submission
*
* @property int $id
* @property string $uuid
* @property int $project_id
* @property int $xlsform_id
* @property mixed $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \App\Models\Project $project
* @property-read \App\Models\Xlsform $xls_form
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereContent($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereUuid($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereXlsformId($value)
* @mixin \Eloquent
* @property string $submitted_at
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Submission whereSubmittedAt($value)
*/
class Submission extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\User
*
* @property int $id
* @property string $name
* @property string $email
* @property \Illuminate\Support\Carbon|null $email_verified_at
* @property string $password
* @property string $avatar
* @property string|null $kobo_id
* @property bool $admin
* @property string $slug
* @property string|null $remember_token
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
* @property-read int|null $notifications_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Project[] $projects
* @property-read int|null $projects_count
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereAdmin($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereAvatar($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereEmail($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereEmailVerifiedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereKoboId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User wherePassword($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereRememberToken($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\User whereUpdatedAt($value)
* @mixin \Eloquent
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Project[] $projects_with_admin_role
* @property-read int|null $projects_with_admin_role_count
*/
class User extends \Eloquent {}
}
namespace App\Models\Views{
/**
* App\Models\Views\SampleMerged
*
* @property int $project_id
* @property string $sample_id
* @property string|null $sampling_date
* @property string|null $username
* @property string|null $date
* @property int|null $depth
* @property string|null $texture
* @property int|null $at_plot
* @property string|null $plot_photo
* @property float|null $longitude
* @property float|null $latitude
* @property float|null $altitude
* @property float|null $accuracy
* @property string|null $comment
* @property string|null $farmer_quick
* @property string|null $community_quick
* @property int|null $plot_id
* @property string|null $analysis_p-date
* @property float|null $analysis_p-weight_soil
* @property float|null $analysis_p-vol_extract
* @property float|null $analysis_p-vol_topup
* @property string|null $analysis_p-cloudy
* @property float|null $analysis_p-color
* @property float|null $analysis_p-raw_conc
* @property float|null $analysis_p-olsen_p
* @property float|null $analysis_p-blank_water
* @property int|null $analysis_p-correct_moisture
* @property float|null $analysis_p-moisture
* @property float|null $analysis_p-olsen_p_corrected
* @property string|null $analysis_ph-date
* @property float|null $analysis_ph-weight_soil
* @property float|null $analysis_ph-vol_water
* @property float|null $analysis_ph-reading_ph
* @property string|null $analysis_ph-stability
* @property string|null $analysis_poxc-date
* @property float|null $analysis_poxc-weight_soil
* @property float|null $analysis_poxc-color
* @property float|null $analysis_poxc-color100
* @property float|null $analysis_poxc-conc_digest
* @property string|null $analysis_poxc-cloudy
* @property float|null $analysis_poxc-colorimeter
* @property float|null $analysis_poxc-raw_conc
* @property float|null $analysis_poxc-poxc_soil
* @property float|null $analysis_poxc-poxc_sample
* @property int|null $analysis_poxc-correct_moisture
* @property float|null $analysis_poxc-moisture
* @property float|null $analysis_poxc-poxc_soil_corrected
* @property-read \App\Models\Project $project
* @property-read \App\Models\Sample|null $sample
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged query()
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAccuracy($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAltitude($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPBlankWater($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPCloudy($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPCorrectMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPOlsenP($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPOlsenPCorrected($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPRawConc($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPVolExtract($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPVolTopup($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPWeightSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPhDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPhReadingPh($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPhStability($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPhVolWater($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPhWeightSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcCloudy($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcColor100($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcColorimeter($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcConcDigest($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcCorrectMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcMoisture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcPoxcSample($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcPoxcSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcPoxcSoilCorrected($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcRawConc($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAnalysisPoxcWeightSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereAtPlot($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereComment($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereCommunityQuick($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereDepth($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereFarmerQuick($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereLatitude($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereLongitude($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged wherePlotId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged wherePlotPhoto($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereProjectId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereSampleId($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereSamplingDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereTexture($value)
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Views\SampleMerged whereUsername($value)
* @mixin \Eloquent
* @property string|null $simple_texture
* @property int|null $ball_yn
* @property int|null $ribbon_yn
* @property string|null $ribbon_break_length
* @property string|null $usda_gritty
* @property string|null $final_texture_type_usda
* @property string|null $second_texture_type_usda
* @property int|null $ball_yn_fao
* @property int|null $sausage_yn_fao
* @property int|null $pencil_fao_yn
* @property int|null $halfcircle_fao_yn
* @property string|null $soil_circle_choice
* @property string|null $final_texture_type_fao
* @property string|null $second_texture_type_fao
* @property string|null $analysis_p-raw_conc_rounded
* @property string|null $analysis_p-moisture_rounded
* @property string|null $analysis_p-moisture_level_as_percentage
* @property string|null $analysis_p-soil_conc_rounded
* @property string|null $analysis_poxc-pct_reduction_color
* @property string|null $analysis_pom-weight_soil
* @property string|null $analayis_pom-diameter_circ_pom
* @property int|null $analayis_pom-weigh_pom_yn
* @property string|null $analayis_pom-weight_cloth
* @property string|null $analayis_pom-weight_pom
* @property string|null $analayis_pom-percent_pom
* @property string|null $analayis_pom-analysis_date
* @property string|null $analysis_agg-weight_soil
* @property string|null $analysis_agg-weight_cloth
* @property string|null $analysis_agg-weight_stones2mm
* @property string|null $analysis_agg-weight_2mm_aggreg
* @property string|null $analysis_agg-weight_cloth_250micron
* @property string|null $analysis_agg-weight_250micron_aggreg
* @property string|null $analysis_agg-pct_stones
* @property string|null $analysis_agg-twomm_aggreg_pct
* @property string|null $analysis_agg-twofiftymicr_aggreg_pct
* @property string|null $analysis_agg-twomm_aggreg_pct_result
* @property string|null $analysis_agg-twofiftymicron_aggreg_pct_result
* @property string|null $analysis_agg-percent_stones
* @property string|null $analysis_agg-total_stableaggregates
* @property string|null $analysis_agg-total_check
* @property string|null $analysis_agg-validation_check
* @property string|null $analysis_agg-analysis_date
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalayisPomAnalysisDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalayisPomDiameterCircPom($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalayisPomPercentPom($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalayisPomWeighPomYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalayisPomWeightCloth($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalayisPomWeightPom($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggAnalysisDate($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggPctStones($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggPercentStones($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggTotalCheck($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggTotalStableaggregates($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggTwofiftymicrAggregPct($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggTwofiftymicronAggregPctResult($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggTwommAggregPct($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggTwommAggregPctResult($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggValidationCheck($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggWeight250micronAggreg($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggWeight2mmAggreg($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggWeightCloth($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggWeightCloth250micron($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggWeightSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisAggWeightStones2mm($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisPMoistureLevelAsPercentage($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisPMoistureRounded($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisPRawConcRounded($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisPSoilConcRounded($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisPomWeightSoil($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereAnalysisPoxcPctReductionColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereBallYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereBallYnFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereFinalTextureTypeFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereFinalTextureTypeUsda($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereHalfcircleFaoYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged wherePencilFaoYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereRibbonBreakLength($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereRibbonYn($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereSausageYnFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereSecondTextureTypeFao($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereSecondTextureTypeUsda($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereSimpleTexture($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereSoilCircleChoice($value)
* @method static \Illuminate\Database\Eloquent\Builder|SampleMerged whereUsdaGritty($value)
*/
class SampleMerged extends \Eloquent {}
}
namespace App\Models{
/**
* App\Models\Xlsform
*
* @property int $id
* @property string|null $title
* @property string|null $file
* @property string $version
* @property string|null $kobo_version_id
* @property string|null $instance_name
* @property string|null $link_page
* @property string|null $description
* @property array|null $media
* @property mixed|null $content
* @property \Illuminate\Support\Carbon|null $created_at
* @property \Illuminate\Support\Carbon|null $updated_at
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Project[] $projects
* @property-read int|null $projects_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Submission[] $submissions
* @property-read int|null $submissions_count
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\Variable[] $variables
* @property-read int|null $variables_count