mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-07 01:01:09 +08:00
24 lines
714 B
JavaScript
24 lines
714 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.TemplateModule = void 0;
|
|
exports.TemplateModule = `import { ecs } from "db://oops-framework/libs/ecs/ECS";
|
|
import { CCEntity } from 'db://oops-framework/module/common/CCEntity';
|
|
|
|
/** <%Name%> 模块 */
|
|
@ecs.register('<%Name%>')
|
|
export class <%Name%> extends CCEntity {
|
|
/** ---------- 数据层 ---------- */
|
|
// <%Name%>Model!: <%Name%>ModelComp;
|
|
|
|
/** ---------- 业务层 ---------- */
|
|
// <%Name%>Bll!: <%Name%>BllComp;
|
|
|
|
/** ---------- 视图层 ---------- */
|
|
// <%Name%>View!: <%Name%>ViewComp;
|
|
|
|
/** 初始添加的数据层组件 */
|
|
protected init() {
|
|
// this.addComponents();
|
|
}
|
|
}`;
|