|
|
@@ -9,37 +9,69 @@
|
|
|
/**
|
|
|
* @property int $id
|
|
|
* @property int $unit_id
|
|
|
- * @property float $revenue_value
|
|
|
+ * @property numeric $revenue_value
|
|
|
* @property int $contract_month_reference
|
|
|
- * @property float $tbr_value
|
|
|
+ * @property numeric $tbr_value
|
|
|
* @property int $fnm_bracket_id
|
|
|
- * @property float $fnm_bracket_percentage
|
|
|
- * @property float $fnm_bracket_value
|
|
|
+ * @property numeric $fnm_bracket_percentage
|
|
|
+ * @property numeric $fnm_bracket_value
|
|
|
* @property int $maintenance_bracket_id
|
|
|
- * @property float $maintenance_bracket_percentage
|
|
|
- * @property float $maintenance_bracket_value
|
|
|
+ * @property numeric $maintenance_bracket_percentage
|
|
|
+ * @property numeric $maintenance_bracket_value
|
|
|
* @property int $royalties_bracket_id
|
|
|
- * @property float $royalties_bracket_percentage
|
|
|
- * @property float $royalties_bracket_value
|
|
|
- * @property float $fnm_effective_percentage
|
|
|
- * @property float $fnm_effective_value
|
|
|
- * @property float $royalties_effective_percentage
|
|
|
- * @property float $royalties_effective_value
|
|
|
- * @property float $maintenance_effective_percentage
|
|
|
- * @property float $maintenance_effective_value
|
|
|
- * @property float $bracket_subtotal
|
|
|
- * @property float $subtotal
|
|
|
- * @property float $final_value
|
|
|
+ * @property numeric $royalties_bracket_percentage
|
|
|
+ * @property numeric $royalties_bracket_value
|
|
|
+ * @property numeric $fnm_effective_percentage
|
|
|
+ * @property numeric $fnm_effective_value
|
|
|
+ * @property numeric $royalties_effective_percentage
|
|
|
+ * @property numeric $royalties_effective_value
|
|
|
+ * @property numeric $maintenance_effective_percentage
|
|
|
+ * @property numeric $maintenance_effective_value
|
|
|
+ * @property numeric $bracket_subtotal
|
|
|
+ * @property numeric $subtotal
|
|
|
+ * @property numeric $final_value
|
|
|
* @property int $user_id
|
|
|
* @property string $royalties_applied_criteria
|
|
|
* @property bool $receivable_generated
|
|
|
- * @property \Carbon\Carbon $created_at
|
|
|
- * @property \Carbon\Carbon $updated_at
|
|
|
- * @property-read \App\Models\Unit $unit
|
|
|
+ * @property \Illuminate\Support\Carbon|null $created_at
|
|
|
+ * @property \Illuminate\Support\Carbon|null $updated_at
|
|
|
* @property-read \App\Models\FranchiseeFnmBracket $fnmBracket
|
|
|
* @property-read \App\Models\FranchiseeMaintenanceBracket $maintenanceBracket
|
|
|
* @property-read \App\Models\FranchiseeRoyaltiesBracket $royaltiesBracket
|
|
|
+ * @property-read \App\Models\Unit $unit
|
|
|
* @property-read \App\Models\User $user
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation newModelQuery()
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation newQuery()
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation query()
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereBracketSubtotal($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereContractMonthReference($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereCreatedAt($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereFinalValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereFnmBracketId($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereFnmBracketPercentage($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereFnmBracketValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereFnmEffectivePercentage($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereFnmEffectiveValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereId($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereMaintenanceBracketId($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereMaintenanceBracketPercentage($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereMaintenanceBracketValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereMaintenanceEffectivePercentage($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereMaintenanceEffectiveValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereReceivableGenerated($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRevenueValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRoyaltiesAppliedCriteria($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRoyaltiesBracketId($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRoyaltiesBracketPercentage($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRoyaltiesBracketValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRoyaltiesEffectivePercentage($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereRoyaltiesEffectiveValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereSubtotal($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereTbrValue($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereUnitId($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereUpdatedAt($value)
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder<static>|TbrCalculation whereUserId($value)
|
|
|
+ * @mixin \Eloquent
|
|
|
*/
|
|
|
class TbrCalculation extends Model
|
|
|
{
|