server/app/Model/UserCoupon.php

39 lines
1.0 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $user_coupon_id
* @property int $org_id
* @property int $merchant_id
* @property int $user_id
* @property int $coupon_id
* @property string $coupon_num
* @property int $use_status
* @property string $use_time
* @property int $use_merchant_id
* @property int $get_type
* @property string $create_time
* @property string $update_time
* @property string $deleted_at
*/
class UserCoupon extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'user_coupon';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['user_coupon_id' => 'integer', 'org_id' => 'integer', 'merchant_id' => 'integer', 'user_id' => 'integer', 'coupon_id' => 'integer', 'use_status' => 'integer', 'use_merchant_id' => 'integer', 'get_type' => 'integer'];
}