1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * App\Models\Level
- *
- * @property int $id
- * @property string $name 级别名称
- * @property string $mark 备注:升级条件
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property int|null $direct_num 直推合约数量
- * @property int|null $total_num 总合约数量
- * @property int|null $status 状态,0:关闭,1:开启
- * @method static \Illuminate\Database\Eloquent\Builder|Level newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Level newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Level query()
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereDirectNum($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereMark($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereTotalNum($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereUpdatedAt($value)
- * @mixin \Eloquent
- * @property int|null $lateral_num 平级比例
- * @method static \Illuminate\Database\Eloquent\Builder|Level whereLateralNum($value)
- */
- class Level extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|