SubscribeModel.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace App\Models\Goodnight;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Goodnight\SubscribeModel
  6. *
  7. * @property int $id
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  10. * @property int $voice_id 声音
  11. * @property int $uid 用户
  12. * @property int $is_push 是否推送
  13. * @property int|null $type 获取方式0:订阅推送|1:首次订阅系统奖励|2:捞晚安
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel newModelQuery()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel newQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel query()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereCreatedAt($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereId($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereIsPush($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereType($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereUid($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereUpdatedAt($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Goodnight\SubscribeModel whereVoiceId($value)
  24. * @mixin \Eloquent
  25. */
  26. class SubscribeModel extends Model
  27. {
  28. protected $table = 'kdgx_goodnight_subscribe_voice';
  29. protected $dateFormat = 'U';
  30. protected $fillable = ['id', 'created_at', 'updated_at', 'voice_id', 'uid', 'is_push', 'type'];
  31. }