Updates to 03-2025
This commit is contained in:
parent
bfa3bb1df4
commit
9ae662f63e
243 changed files with 12580 additions and 12018 deletions
|
|
@ -13,15 +13,28 @@ use Cviebrock\EloquentSluggable\Sluggable;
|
|||
|
||||
/**
|
||||
* Class DcCategory
|
||||
*
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property int $pos
|
||||
* @property string $slug
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
*
|
||||
* @package App\Models
|
||||
* @property bool $active
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory findSimilarSlugs(string $attribute, array $config, string $slug)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory whereActive($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory whereName($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory wherePos($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory whereSlug($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory whereUpdatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|DcCategory withUniqueSlugConstraints(\Illuminate\Database\Eloquent\Model $model, string $attribute, array $config, string $slug)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class DcCategory extends Model
|
||||
{
|
||||
|
|
@ -41,7 +54,7 @@ class DcCategory extends Model
|
|||
'active'
|
||||
];
|
||||
|
||||
public function sluggable()
|
||||
public function sluggable() : array
|
||||
{
|
||||
return [
|
||||
'slug' => [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue