51 lines
942 B
PHP
51 lines
942 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class NhPricesGrid
|
|
*
|
|
* @property int $id
|
|
* @property int $nh_network_config_id
|
|
* @property float $min_age
|
|
* @property float $max_age
|
|
* @property float $markup_percentage
|
|
* @property float $min_amount
|
|
* @property float $number_of_months
|
|
* @property Carbon $updated_at
|
|
* @property Carbon $created_at
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class NhPricesGrid extends Model
|
|
{
|
|
protected $table = 'nh_prices_grid';
|
|
public $incrementing = false;
|
|
|
|
protected $casts = [
|
|
'id' => 'int',
|
|
'nh_network_config_id' => 'int',
|
|
'min_age' => 'float',
|
|
'max_age' => 'float',
|
|
'markup_percentage' => 'float',
|
|
'min_amount' => 'float',
|
|
'number_of_months' => 'float'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'nh_network_config_id',
|
|
'min_age',
|
|
'max_age',
|
|
'markup_percentage',
|
|
'min_amount',
|
|
'number_of_months'
|
|
];
|
|
}
|