31 lines
895 B
TypeScript
31 lines
895 B
TypeScript
import { Schema as System } from 'oak-general-business/lib/entities/System';
|
|
import { EntityDesc } from 'oak-domain/lib/types';
|
|
|
|
export interface Schema extends System {
|
|
};
|
|
|
|
export type Relation = 'owner' | 'manager';
|
|
|
|
export const entityDesc: EntityDesc<Schema, '', Relation> = {
|
|
locales: {
|
|
zh_CN: {
|
|
name: '系统',
|
|
attr: {
|
|
name: '名称',
|
|
description: '描述',
|
|
config: '设置',
|
|
platform: '平台',
|
|
super: '超级系统',
|
|
folder: '代码目录名',
|
|
style: '样式',
|
|
entity: '关联对象',
|
|
entityId: '关联对象id',
|
|
oldestVersion: '最早支持版本',
|
|
},
|
|
r: {
|
|
owner: '所有者',
|
|
manager: '管理员',
|
|
},
|
|
},
|
|
},
|
|
}; |