MemberClan.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 MemberClan.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property int $m_id 会员ID
  12. * @property int $tier_num 层级
  13. * @property int $one_m_id 一级父级ID
  14. * @property int $two_m_id 二级父级ID
  15. * @property int $three_m_id 三级父级ID
  16. * @property int $four_m_id 四级父级ID
  17. * @property int $five_m_id 五级父级ID
  18. * @property string $m_ids 下级ID
  19. * @property string $p_ids 父级ID
  20. * @property \Illuminate\Support\Carbon|null $created_at
  21. * @property \Illuminate\Support\Carbon|null $updated_at
  22. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan newModelQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan newQuery()
  24. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan query()
  25. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereFiveMId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereFourMId($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereMId($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereMIds($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereOneMId($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan wherePIds($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereThreeMId($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereTierNum($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereTwoMId($value)
  36. * @method static \Illuminate\Database\Eloquent\Builder|MemberClan whereUpdatedAt($value)
  37. * @mixin \Eloquent
  38. */
  39. class MemberClan extends Model implements Transformable
  40. {
  41. use TransformableTrait;
  42. /**
  43. * The attributes that are mass assignable.
  44. *
  45. * @var array
  46. */
  47. protected $guarded = ['id', 'updated_at', 'created_at'];
  48. }