oak-general-business/lib/general-app-domain/Area/Storage.js

43 lines
895 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.desc = void 0;
var action_1 = require("oak-domain/lib/actions/action");
exports.desc = {
attributes: {
name: {
type: "varchar",
params: {
length: 32
}
},
level: {
type: "varchar",
params: {
length: 24
}
},
depth: {
type: "int",
params: {
width: 4
}
},
parentId: {
type: "ref",
ref: "area"
},
code: {
type: "varchar",
params: {
length: 12
}
},
center: {
type: "geometry"
}
},
static: true,
actionType: "readOnly",
actions: action_1.readOnlyActions
};