package com.sonic.frog.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sonic.frog.domain.entity.Liked;
import org.apache.ibatis.annotations.Mapper;

/**
 * 点赞数据访问接口
 */
@Mapper
public interface LikedDao extends BaseMapper<Liked> {
    /**
     * 点赞或取消
     * @param liked 点赞或取消数据
     */
    void likeOrCancel(Liked liked);
}