49 lines
1.4 KiB
PHP
49 lines
1.4 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Model;
|
|
|
|
/**
|
|
* @property int $coupon_id
|
|
* @property int $org_id
|
|
* @property int $merchant_id
|
|
* @property string $coupon_name
|
|
* @property string $bg_img
|
|
* @property string $description
|
|
* @property int $type
|
|
* @property int $discount
|
|
* @property string $full_money
|
|
* @property string $reduce_money
|
|
* @property int $total
|
|
* @property int $num
|
|
* @property string $began_date
|
|
* @property string $end_date
|
|
* @property int $status
|
|
* @property int $period
|
|
* @property int $get_day
|
|
* @property int $get_count
|
|
* @property int $get_type
|
|
* @property int $support_money
|
|
* @property string $create_time
|
|
* @property string $update_time
|
|
* @property string $deleted_at
|
|
*/
|
|
class Coupon extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*/
|
|
protected ?string $table = 'coupon';
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected array $fillable = [];
|
|
|
|
/**
|
|
* The attributes that should be cast to native types.
|
|
*/
|
|
protected array $casts = ['coupon_id' => 'integer', 'org_id' => 'integer', 'merchant_id' => 'integer', 'type' => 'integer', 'discount' => 'integer', 'total' => 'integer', 'num' => 'integer', 'status' => 'integer', 'period' => 'integer', 'get_day' => 'integer', 'get_count' => 'integer', 'get_type' => 'integer', 'support_money' => 'integer'];
|
|
}
|