import { FormServiceBase } from '@/ibiz-core';
import { Util, HttpResponse } from '@/ibiz-core/utils';
import { MobStartFormModel } from '@/app-core/ctrl-model/sub-task/mob-start-form-form-model';


/**
 * MobStartForm 部件服务对象
 *
 * @export
 * @class MobStartFormService
 * @extends {FormServiceBase}
 */
export class MobStartFormService extends FormServiceBase {

    /**
     * 部件模型
     *
     * @protected
     * @type {MobStartFormModel}
     * @memberof ControlServiceBase
     */
    protected model: MobStartFormModel = new MobStartFormModel();

    /**
     * 应用实体名称
     *
     * @protected
     * @type {string}
     * @memberof MobStartFormService
     */
    protected appDEName: string = 'subtask';

    /**
     * 当前应用实体主键标识
     *
     * @protected
     * @type {string}
     * @memberof MobStartFormService
     */
    protected appDeKey: string = 'id';

    /**
     * 获取跨实体数据集合
     *
     * @param {string} serviceName 服务名称
     * @param {string} interfaceName 接口名称
     * @param {*} [context]
     * @param {*} [data]
     * @param {boolean} [isLoading]
     * @returns {Promise<any[]>}
     * @memberof  MobStartFormService
     */
    public async getItems(serviceName: string, interfaceName: string, context?: any, data?: any, isLoading?: boolean): Promise<any[]> {
        return [];
    }

    /**
     * 合并配置的默认值
     *
     * @protected
     * @param {*} [response={}]
     * @memberof MobStartFormService
     */
    public mergeDefaults(response:any = {}): void {
        if (response.data) {
        }
    }

}
// 默认导出
export default MobStartFormService;