123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class InviteCode.
- *
- * @package namespace App\Models;
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode query()
- * @mixin \Eloquent
- * @property int $id
- * @property int $code 编码
- * @property int $status 状态
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode whereCode($value)
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|InviteCode whereUpdatedAt($value)
- */
- class InviteCode extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|