|
@@ -1,27 +1,40 @@
|
|
|
-<?php
|
|
|
-
|
|
|
-declare(strict_types=1);
|
|
|
-
|
|
|
-namespace App\Model;
|
|
|
-
|
|
|
-use Hyperf\DbConnection\Model\Model;
|
|
|
-
|
|
|
-/**
|
|
|
- */
|
|
|
-class AdPlace extends Model
|
|
|
-{
|
|
|
- /**
|
|
|
- * The table associated with the model.
|
|
|
- */
|
|
|
- protected ?string $table = 'ad_place';
|
|
|
-
|
|
|
- /**
|
|
|
- * The attributes that are mass assignable.
|
|
|
- */
|
|
|
- protected array $fillable = [];
|
|
|
-
|
|
|
- /**
|
|
|
- * The attributes that should be cast to native types.
|
|
|
- */
|
|
|
- protected array $casts = [];
|
|
|
-}
|
|
|
+<?php
|
|
|
+
|
|
|
+declare(strict_types=1);
|
|
|
+
|
|
|
+namespace App\Model;
|
|
|
+
|
|
|
+use Hyperf\DbConnection\Model\Model;
|
|
|
+
|
|
|
+/**
|
|
|
+ */
|
|
|
+class AdPlace extends Model
|
|
|
+{
|
|
|
+ /**
|
|
|
+ * The table associated with the model.
|
|
|
+ */
|
|
|
+ protected ?string $table = 'ad_place';
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The attributes that are mass assignable.
|
|
|
+ */
|
|
|
+ protected array $fillable = [
|
|
|
+ 'website_id',
|
|
|
+ 'typeid',
|
|
|
+ 'status',
|
|
|
+ 'name',
|
|
|
+ 'thumb',
|
|
|
+ 'introduce',
|
|
|
+ 'ad_tag',
|
|
|
+ 'code',
|
|
|
+ 'price',
|
|
|
+ 'ad_size_id',
|
|
|
+ 'ad_tag'
|
|
|
+
|
|
|
+ ];
|
|
|
+
|
|
|
+ /**
|
|
|
+ * The attributes that should be cast to native types.
|
|
|
+ */
|
|
|
+ protected array $casts = [];
|
|
|
+}
|