mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-06 16:50:22 +08:00
23 lines
655 B
JavaScript
23 lines
655 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";
|
|
|
|
/** <%Name%> 模块 */
|
|
@ecs.register('<%Name%>')
|
|
export class <%Name%> extends ecs.Entity {
|
|
/** ---------- 数据层 ---------- */
|
|
// <%Name%>Model!: <%Name%>ModelComp;
|
|
|
|
/** ---------- 业务层 ---------- */
|
|
// <%Name%>Bll!: <%Name%>BllComp;
|
|
|
|
/** ---------- 视图层 ---------- */
|
|
// <%Name%>View!: <%Name%>ViewComp;
|
|
|
|
/** 初始添加的数据层组件 */
|
|
protected init() {
|
|
// this.addComponents<ecs.Comp>();
|
|
}
|
|
}`;
|