diff --git a/app/Model/Suggest.php b/app/Model/Suggest.php index 49ed4fd..656f473 100644 --- a/app/Model/Suggest.php +++ b/app/Model/Suggest.php @@ -31,4 +31,9 @@ class Suggest extends Model * The attributes that should be cast to native types. */ protected array $casts = ['id' => 'integer', 'category' => 'integer', 'user_id' => 'integer']; + + + const string CREATED_AT = 'create_time'; + + const string UPDATED_AT = 'update_time'; }