1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class MemberBoth.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $m_id m_id
- * @property int $left_id 左节点
- * @property int $right_id 右节点
- * @property int $parent_id 父级节点
- * @property int $direct_id 直推节点
- * @property string $parent_ids 父级族谱
- * @property string $child_ids 子族谱
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth query()
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereChildIds($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereDirectId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereLeftId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereParentId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereParentIds($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereRightId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property int|null $tier_num 层级
- * @property int|null $is_end 是否完整
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereIsEnd($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberBoth whereTierNum($value)
- */
- class MemberBoth extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|