feat: cycle

This commit is contained in:
2025-01-08 11:28:08 +08:00
parent fd70dfabf5
commit 4c10e8ed71
5 changed files with 140 additions and 9 deletions

View File

@@ -9,8 +9,7 @@ use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property string $dates
* @property int $is_use
* @property string $dates
* @property string $create_time
*/
class Cycle extends Model
@@ -30,7 +29,7 @@ class Cycle extends Model
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'is_use' => 'integer'];
protected array $casts = ['id' => 'integer'];
const string CREATED_AT = 'create_time';
const null UPDATED_AT = null;