123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class Config.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property string $key 配置名称
- * @property string $msg 配置说明
- * @property string $value 配置值
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|Config newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Config newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|Config query()
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereKey($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereMsg($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereValue($value)
- * @mixin \Eloquent
- * @property int|null $is_update 是否可以修改
- * @property string|null $title 标题
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereIsUpdate($value)
- * @method static \Illuminate\Database\Eloquent\Builder|Config whereTitle($value)
- */
- class Config extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|