39 lines
941 B
PHP
39 lines
941 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $charge_id
|
|
* @property int $org_id
|
|
* @property int $merchant_id
|
|
* @property string $charge_name
|
|
* @property int $type
|
|
* @property string $bg_img
|
|
* @property string $description
|
|
* @property string $price
|
|
* @property int $day_num
|
|
* @property int $buy_time
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
* @property string $deleted_at
|
|
*/
|
|
class Charge extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'charge';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['charge_id' => 'integer', 'org_id' => 'integer', 'merchant_id' => 'integer', 'type' => 'integer', 'day_num' => 'integer', 'buy_time' => 'integer'];
|
|
}
|