Files
hyperf_service/app/Model/Cycle.php
2024-12-23 11:24:33 +08:00

32 lines
591 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property string $dates
* @property int $is_use
* @property string $create_time
*/
class Cycle extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'cycle';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'is_use' => 'integer'];
}