NoticeRead.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class NoticeRead.
  8. *
  9. * @package namespace App\Models;
  10. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead newModelQuery()
  11. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead newQuery()
  12. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead query()
  13. * @mixin \Eloquent
  14. * @property int $id
  15. * @property int $member_id 会员ID
  16. * @property int $n_id 消息ID
  17. * @property \Illuminate\Support\Carbon|null $created_at
  18. * @property \Illuminate\Support\Carbon|null $updated_at
  19. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead whereCreatedAt($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead whereId($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead whereMemberId($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead whereNId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|NoticeRead whereUpdatedAt($value)
  24. */
  25. class NoticeRead extends Model implements Transformable
  26. {
  27. use TransformableTrait;
  28. /**
  29. * The attributes that are mass assignable.
  30. *
  31. * @var array
  32. */
  33. protected $guarded = ['id', 'updated_at', 'created_at'];
  34. }