package shop.alien.lawyer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import shop.alien.entity.result.R;
import shop.alien.entity.store.LawyerServiceArea;

/**
 * 律师服务领域关联 服务类
 *
 * @author system
 * @since 2025-01-XX
 */
public interface LawyerServiceAreaService extends IService<LawyerServiceArea> {

    /**
     * 新增律师服务领域
     *
     * @param lawyerServiceArea 律师服务领域关联
     * @return R<LawyerServiceArea>
     */
    R<LawyerServiceArea> addLawyerServiceArea(LawyerServiceArea lawyerServiceArea);

    /**
     * 编辑律师服务领域
     *
     * @param lawyerServiceArea 律师服务领域关联
     * @return R<LawyerServiceArea>
     */
    R<LawyerServiceArea> editLawyerServiceArea(LawyerServiceArea lawyerServiceArea);

    /**
     * 删除律师服务领域
     *
     * @param id 主键
     * @return R<Boolean>
     */
    R<Boolean> deleteLawyerServiceArea(Integer id);
}

