This commit is contained in:
2025-12-24 16:59:05 +08:00
parent b52a51c09b
commit b68946fe79
218 changed files with 10790 additions and 3878 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace app\model;
/**
* 朋友圈点赞模型
* @property integer $id 主键(ID)
* @property integer $circle_id 朋友圈动态ID
* @property integer $user_id 用户ID
* @property integer $created_at 创建时间
*/
class FriendCircleLike extends Base
{
protected $name = 'friend_circle_like';
protected $autoWriteTimestamp = 'int';
/**
* 关联朋友圈动态
*/
public function circle()
{
return $this->belongsTo('\\app\\model\\FriendCircle', 'circle_id', 'id');
}
/**
* 关联用户
*/
public function user()
{
return $this->belongsTo('\\app\\model\\User', 'user_id', 'id');
}
}