package me.zhouzhuo810.zzapidoc.version.service;

import me.zhouzhuo810.zzapidoc.common.result.BaseResult;
import me.zhouzhuo810.zzapidoc.common.result.WebResult;
import me.zhouzhuo810.zzapidoc.common.service.BaseService;
import me.zhouzhuo810.zzapidoc.version.entity.VersionProjectEntity;

/**
 * Created by zz on 2017/10/26.
 */
public interface VersionProjectService extends BaseService<VersionProjectEntity> {

    BaseResult addVersionProject(String name, String note, String property, String userId);

    BaseResult updateVersionProject(String projectId,String name, String note, String property, String userId);

    BaseResult deleteVersionProject(String id, String userId);

    BaseResult deleteVersionProjectWeb(String ids, String userId);

    BaseResult getAllVersionProject(String userId);

    WebResult getAllVersionProjectWeb(String userId, Integer page);
}
