package cn.sagacloud.dao

import cn.sagacloud.server.algorithm.models.modelFile.DownloadEntity
import cn.sagacloud.server.algorithm.models.modelFile.TaskEntity
import cn.sagacloud.server.algorithm.models.modelFile.TaskResultEntity
import com.sybotan.mybatis.SMybatisDao
import com.sybotan.service.SObjectService

object TaskServiceDao {
    // 任务数据服务
    var taskService = SObjectService(SMybatisDao(TaskEntity::class.java))

    // 下载任务数据服务
    var downloadService = SObjectService(SMybatisDao(DownloadEntity::class.java))

    // 任务结果数据服务
    var taskResultService = SObjectService(SMybatisDao(TaskResultEntity::class.java))
}