package top.continew.admin.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.continew.admin.business.model.entity.AssignmentsDO;
import top.continew.admin.business.model.req.AssignmentsReq;
import top.continew.admin.business.model.resp.AssignmentsDetailResp;

/**
 * 作业表业务接口
 *
 * @author 张波
 * @since 2024/10/22 11:45
 */
public interface AssignmentsService extends IService<AssignmentsDO> {

    // 创建作业
    Long add(AssignmentsReq assignmentsReq);

    /**
     * 根据作业ID查询作业详情
     *
     * @param assignmentsId 作业ID
     * @return 作业详情
     */
    AssignmentsDetailResp detail(Long assignmentsId);
}