MemberGrade.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 MemberGrade.
  8. *
  9. * @package namespace App\Models;
  10. * @property int $id
  11. * @property string $grade_name 等级名称
  12. * @property float $grade_money 推荐收益比列
  13. * @property \Illuminate\Support\Carbon|null $created_at
  14. * @property \Illuminate\Support\Carbon|null $updated_at
  15. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade newModelQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade newQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade query()
  18. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereCreatedAt($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereGradeMoney($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereGradeName($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereId($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereUpdatedAt($value)
  23. * @mixin \Eloquent
  24. */
  25. class MemberGrade extends Model implements Transformable
  26. {
  27. use TransformableTrait;
  28. /**
  29. * The attributes that are mass assignable.
  30. *
  31. * @var array
  32. */
  33. protected $guarded = ['id', 'updated_at', 'created_at'];
  34. }