12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class MenuUrl.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property string $url_name 连接名称
- * @property string $url url地址
- * @property int $menu_id 所属菜单ID
- * @property int $status 状态,0:未编辑,1:已编辑
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl query()
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereMenuId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereStatus($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereUrl($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereUrlName($value)
- * @mixin \Eloquent
- * @property int|null $parent_id 父级ID
- * @property int|null $child_id 子菜单ID
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereChildId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereParentId($value)
- * @property int|null $type 类型:1:后台地址,2:api地址
- * @method static \Illuminate\Database\Eloquent\Builder|MenuUrl whereType($value)
- */
- class MenuUrl extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|