|
@@ -6,36 +6,30 @@ use Illuminate\Database\Eloquent\Model;
|
|
use Prettus\Repository\Contracts\Transformable;
|
|
use Prettus\Repository\Contracts\Transformable;
|
|
use Prettus\Repository\Traits\TransformableTrait;
|
|
use Prettus\Repository\Traits\TransformableTrait;
|
|
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
- * Class Banner.
|
|
|
|
|
|
+ * App\Models\Banner
|
|
*
|
|
*
|
|
- * @package namespace App\Models;
|
|
|
|
* @property int $id
|
|
* @property int $id
|
|
* @property string $image banner图片
|
|
* @property string $image banner图片
|
|
* @property string|null $link banner跳转链接
|
|
* @property string|null $link banner跳转链接
|
|
* @property int $sort 排序1-100:正序
|
|
* @property int $sort 排序1-100:正序
|
|
* @property int $show 是否显示 0:不显示;1:显示
|
|
* @property int $show 是否显示 0:不显示;1:显示
|
|
- * @property int $type 跳转类型:0:不跳转,1:商品,2:分类,3:秒杀
|
|
|
|
- * @property int $to_id 关联ID
|
|
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
- * @property string|null $title 标题
|
|
|
|
|
|
+ * @property string $image_en banner英文图片
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereImage($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereImage($value)
|
|
|
|
+ * @method static \Illuminate\Database\Eloquent\Builder|Banner whereImageEn($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereLink($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereLink($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereShow($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereShow($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereSort($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereSort($value)
|
|
- * @method static \Illuminate\Database\Eloquent\Builder|Banner whereTitle($value)
|
|
|
|
- * @method static \Illuminate\Database\Eloquent\Builder|Banner whereToId($value)
|
|
|
|
- * @method static \Illuminate\Database\Eloquent\Builder|Banner whereType($value)
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereUpdatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Banner whereUpdatedAt($value)
|
|
* @mixin \Eloquent
|
|
* @mixin \Eloquent
|
|
- * @property string $image_en banner英文图片
|
|
|
|
- * @method static \Illuminate\Database\Eloquent\Builder|Banner whereImageEn($value)
|
|
|
|
*/
|
|
*/
|
|
class Banner extends Model implements Transformable
|
|
class Banner extends Model implements Transformable
|
|
{
|
|
{
|