Level.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. * App\Models\Level
  8. *
  9. * @property int $id
  10. * @property string $name 级别名称
  11. * @property string $mark 备注:升级条件
  12. * @property \Illuminate\Support\Carbon|null $created_at
  13. * @property \Illuminate\Support\Carbon|null $updated_at
  14. * @property int|null $direct_num 直推合约数量
  15. * @property int|null $total_num 总合约数量
  16. * @property int|null $status 状态,0:关闭,1:开启
  17. * @method static \Illuminate\Database\Eloquent\Builder|Level newModelQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|Level newQuery()
  19. * @method static \Illuminate\Database\Eloquent\Builder|Level query()
  20. * @method static \Illuminate\Database\Eloquent\Builder|Level whereCreatedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|Level whereDirectNum($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|Level whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|Level whereMark($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|Level whereName($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|Level whereStatus($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|Level whereTotalNum($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|Level whereUpdatedAt($value)
  28. * @mixin \Eloquent
  29. * @property int|null $lateral_num 平级比例
  30. * @method static \Illuminate\Database\Eloquent\Builder|Level whereLateralNum($value)
  31. */
  32. class Level extends Model implements Transformable
  33. {
  34. use TransformableTrait;
  35. /**
  36. * The attributes that are mass assignable.
  37. *
  38. * @var array
  39. */
  40. protected $guarded = ['id', 'updated_at', 'created_at'];
  41. }