UNPKG

@egi/smart-db

Version:

Unified Smart DB Access

1 lines 888 B
import{AbstractModel}from"./abstract-model";export class OracleCatModel extends AbstractModel{static getClassName(){return"OracleCatModel"}static getTableName(){return"cat"}static from(t){let e=null;return t&&(e=new OracleCatModel,t instanceof OracleCatModel?Object.assign(e,t):e.assign(t)),e}clone(){return OracleCatModel.from(this)}getClassName(){return"OracleCatModel"}getTableName(){return"cat"}getAttributeMap(){return OracleCatModel.attributeMap}getPrimaryKey(){return"name"}get name(){return this._name}set name(t){this._name=t}get type(){return this._type}set type(t){this._type=t}}OracleCatModel.attributeMap={TABLE_TYPE:{physical:!0,type:"string",attribute:"_type"},type:{alias:"TABLE_TYPE",typeScriptStyle:!0,type:"string",attribute:"_type"},TABLE_NAME:{physical:!0,type:"string",attribute:"_name"},name:{alias:"TABLE_NAME",typeScriptStyle:!0,type:"string",attribute:"_name"}};