123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class MemberGrade.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property string $grade_name 等级名称
- * @property float $grade_money 推荐收益比列
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade query()
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereGradeMoney($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereGradeName($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MemberGrade whereUpdatedAt($value)
- * @mixin \Eloquent
- */
- class MemberGrade extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|