mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Update: laravel 8 to 12, php 7.3 to php 8.3, Jenkinsfile, Unit/Feature testing, vapor, docker
This commit is contained in:
@@ -11,13 +11,13 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
* Class SeasonalSegment
|
||||
* @package App\Models
|
||||
*
|
||||
* @property \App\Models\Company company_id
|
||||
* @property \App\Models\Bank transferable_bank_id
|
||||
* @property string marking
|
||||
* @property string reference
|
||||
* @property float fix_amount
|
||||
* @property int convertible_currency_id
|
||||
* @property int conversion_currency_id
|
||||
* @property int $company_id
|
||||
* @property int $transferable_bank_id
|
||||
* @property string $marking
|
||||
* @property string $reference
|
||||
* @property float $fix_amount
|
||||
* @property int $convertible_currency_id
|
||||
* @property int $conversion_currency_id
|
||||
*/
|
||||
class SeasonalSegment extends Model
|
||||
{
|
||||
@@ -27,11 +27,19 @@ class SeasonalSegment extends Model
|
||||
|
||||
protected $table = 'seasonal_segment';
|
||||
|
||||
protected $dates = [
|
||||
'starting_on',
|
||||
'ending_on',
|
||||
'deleted_at',
|
||||
];
|
||||
/**
|
||||
* Get the attributes that should be cast.
|
||||
*
|
||||
* @return array<string, string>
|
||||
*/
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'starting_on' => 'datetime',
|
||||
'ending_on' => 'datetime',
|
||||
'deleted_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return BelongsTo
|
||||
|
||||
Reference in New Issue
Block a user