MemberClans.php 2.3 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 MemberClans.
  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 \Carbon\Carbon|null $created_at
  21. * @property \Carbon\Carbon|null $updated_at
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereCreatedAt($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereFiveMId($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereFourMId($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereId($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereMId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereMIds($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereOneMId($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans wherePIds($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereThreeMId($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereTierNum($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereTwoMId($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\MemberClans whereUpdatedAt($value)
  34. * @mixin \Eloquent
  35. * @method static \Illuminate\Database\Eloquent\Builder|MemberClans newModelQuery()
  36. * @method static \Illuminate\Database\Eloquent\Builder|MemberClans newQuery()
  37. * @method static \Illuminate\Database\Eloquent\Builder|MemberClans query()
  38. */
  39. class MemberClans 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. }