|
@@ -13,18 +13,9 @@
|
|
|
* @property int $class_package_unit_id
|
|
* @property int $class_package_unit_id
|
|
|
* @property int|null $pavao_proposal_id
|
|
* @property int|null $pavao_proposal_id
|
|
|
* @property float|null $registration_value
|
|
* @property float|null $registration_value
|
|
|
- * @property bool $registration_included_in_course
|
|
|
|
|
- * @property bool $registration_installments_allowed
|
|
|
|
|
- * @property int $registration_max_installments
|
|
|
|
|
* @property float|null $classes_value
|
|
* @property float|null $classes_value
|
|
|
- * @property bool $classes_included_in_course
|
|
|
|
|
- * @property bool $classes_installments_allowed
|
|
|
|
|
- * @property int $classes_max_installments
|
|
|
|
|
* @property float|null $classes_discount_percentage
|
|
* @property float|null $classes_discount_percentage
|
|
|
* @property float $materials_total_value
|
|
* @property float $materials_total_value
|
|
|
- * @property bool $materials_included_in_course
|
|
|
|
|
- * @property bool $materials_installments_allowed
|
|
|
|
|
- * @property int $materials_max_installments
|
|
|
|
|
* @property float|null $total_value
|
|
* @property float|null $total_value
|
|
|
* @property int $total_max_installments
|
|
* @property int $total_max_installments
|
|
|
* @property-read \App\Models\ClassPackageUnit $packageUnit
|
|
* @property-read \App\Models\ClassPackageUnit $packageUnit
|
|
@@ -41,18 +32,9 @@ class PavaoProposalUnit extends Model
|
|
|
|
|
|
|
|
protected $casts = [
|
|
protected $casts = [
|
|
|
'registration_value' => 'float',
|
|
'registration_value' => 'float',
|
|
|
- 'registration_included_in_course' => 'boolean',
|
|
|
|
|
- 'registration_installments_allowed' => 'boolean',
|
|
|
|
|
- 'registration_max_installments' => 'integer',
|
|
|
|
|
'classes_value' => 'float',
|
|
'classes_value' => 'float',
|
|
|
- 'classes_included_in_course' => 'boolean',
|
|
|
|
|
- 'classes_installments_allowed' => 'boolean',
|
|
|
|
|
- 'classes_max_installments' => 'integer',
|
|
|
|
|
'classes_discount_percentage' => 'float',
|
|
'classes_discount_percentage' => 'float',
|
|
|
'materials_total_value' => 'float',
|
|
'materials_total_value' => 'float',
|
|
|
- 'materials_included_in_course' => 'boolean',
|
|
|
|
|
- 'materials_installments_allowed' => 'boolean',
|
|
|
|
|
- 'materials_max_installments' => 'integer',
|
|
|
|
|
'total_value' => 'float',
|
|
'total_value' => 'float',
|
|
|
'total_max_installments' => 'integer',
|
|
'total_max_installments' => 'integer',
|
|
|
];
|
|
];
|