| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- namespace App\Models;
- use DateTimeInterface;
- use Illuminate\Database\Eloquent\Model;
- /**
- * 会员搜索表
- *
- * @property int $id 会员搜索表
- * @property int $m_id 会员ID
- * @property int $search_id 关键词ID
- * @property int $shop_id 所属商户ID
- * @property int|null $num 查询次数
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch query()
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereNum($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereSearchId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereShopId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|GoodsSearch whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class GoodsSearch extends Model
- {
- /**
- * The table associated with the model.
- *
- * @var string
- */
- protected $table = 'goods_search';
- /**
- * The primary key associated with the table.
- *
- * @var string
- */
- protected $primaryKey = 'id';
- /**
- * Indicates if the model should be timestamped.
- *
- * @var bool
- */
- public $timestamps = true;
- /**
- * 不能被批量赋值的属性
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|