BannerModel.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace App\Models;
  3. /**
  4. * App\Models\BannerModel
  5. *
  6. * @property int $id 主键
  7. * @property \Illuminate\Support\Carbon $created_at 创建时间
  8. * @property \Illuminate\Support\Carbon|null $updated_at 更新时间
  9. * @property string|null $title 标题
  10. * @property string|null $description 描述
  11. * @property string|null $pic_url 图片地址
  12. * @property string|null $url 动作参数
  13. * @property string|null $action_type 动作类型
  14. * @property string|null $position 位置
  15. * @property int|null $sort 排序desc
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereActionType($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereCreatedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereDescription($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel wherePicUrl($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel wherePosition($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereSort($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereTitle($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereUpdatedAt($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BannerModel whereUrl($value)
  29. * @mixin \Eloquent
  30. */
  31. class BannerModel extends Model
  32. {
  33. protected $table = 'kdgx_fpdx_banner';
  34. public $dateFormat = 'U';
  35. protected $fillable = ['title', 'description', 'pic_url', 'url', 'action_type', 'position', 'sort'];
  36. }