| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- namespace app\model\saas;
- use app\extra\basic\Model;
- /**
- * @property integer $id (主键)
- * @property mixed $poi_id
- * @property string $nick_name 昵称
- * @property string $unique_id 抖音号
- * @property string $avatar_url
- * @property string $city_name
- * @property mixed $uid 抖音唯一ID
- * @property string $fans_count
- * @property mixed $fans_tag_list 粉丝标签
- * @property string $talent_level_display 带货力
- * @property string $talent_item_level_display 视频带货力
- * @property string $talent_live_level_display 直播
- * @property string $content_level_display 内容力
- * @property string $credit_score_display 信用分
- * @property string $rank_display 视频榜
- * @property mixed $create_at
- */
- class SaasStar extends Model
- {
- /**
- * The connection name for the model.
- *
- * @var string|null
- */
- protected $connection = 'mysql';
-
- /**
- * The table associated with the model.
- *
- * @var string
- */
- protected string $table = "saas_star";
-
- /**
- * The primary key associated with the table.
- *
- * @var string
- */
- protected string $primaryKey = "id";
-
- /**
- * Indicates if the model should be timestamped.
- *
- * @var bool
- */
- public bool $timestamps = false;
- public function getShowNicknameAttr($data): string
- {
- return unicodeToEmoji($data);
- }
- }
|