PHP Class Ts\Models\ChannelFollow

Author: Seven Du ([email protected])
Inheritance: extends Ts\Bases\Model
Show file Open project: medz/thinksns-4

Protected Properties

Property Type Description
$fillable array 表字段
$primaryKey string 表主键
$softDelete boolean 设置是否开启软删除
$table string 表名称

Public Methods

Method Description
cate ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany 数据分类信息

Method Details

cate() public method

数据分类信息
Author: Seven Du ([email protected])
public cate ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
return Illuminate\Database\Eloquent\Relations\BelongsToMany

Property Details

$fillable protected property

表字段
protected array $fillable
return array

$primaryKey protected property

表主键
protected string $primaryKey
return string

$softDelete protected property

设置是否开启软删除
protected bool $softDelete
return boolean

$table protected property

表名称
protected string $table
return string