<#ibiztemplate>
TARGET=PSAPPDATAENTITY
</#ibiztemplate>
import { Injectable } from '@angular/core';
import { DEService } from '@global/service/de/DEService';

/**
 * ${de.getCodeName()}实体服务类
 *
 * @export
 * @class ${de.getCodeName()}Service
 */
@Injectable({ providedIn: 'root' })
export class ${de.getCodeName()}Service extends DEService {
    
    /**
     * 获取数据api地址
     *
     * @returns {string}
     * @memberof ${de.getCodeName()}Service
     */
    public getApi(): string {
        return './assets/datas/${de.getCodeName()?lower_case}.json';
    }

    /**
     * 删除数据api地址
     *
     * @returns {string}
     * @memberof ${de.getCodeName()}Service
     */
    public removeApi(): string {
        return '';
    }

    /**
     * 获取实体名称
     *
     * @returns {string}
     * @memberof ${de.getCodeName()}Service
     */
    public getName(): string {
        return '${de.getCodeName()?lower_case}';
    }
}
