feat: cycle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user