@egi/smart-db
Version:
Unified Smart DB Access
1 lines • 2.3 kB
JavaScript
import{AbstractModel}from"./abstract-model";export class OracleUserTabColumnsViewModel extends AbstractModel{static getClassName(){return"OracleUserTabColumnsViewModel"}static getTableName(){return"smart_db_user_tab_columns_view"}static from(t){let e=null;return t&&(e=new OracleUserTabColumnsViewModel,t instanceof OracleUserTabColumnsViewModel?Object.assign(e,t):e.assign(t)),e}clone(){return OracleUserTabColumnsViewModel.from(this)}getClassName(){return"OracleUserTabColumnsViewModel"}getTableName(){return"smart_db_user_tab_columns_view"}getAttributeMap(){return OracleUserTabColumnsViewModel.attributeMap}getPrimaryKey(){return"columnId"}get columnId(){return this._columnId}set columnId(t){this._columnId=t}get columnName(){return this._columnName}set columnName(t){this._columnName=t}get constraintType(){return this._constraintType}set constraintType(t){this._constraintType=t}get dataType(){return this._dataType}set dataType(t){this._dataType=t}get defaultValue(){return this._defaultValue}set defaultValue(t){this._defaultValue=t}get nullable(){return this._nullable}set nullable(t){this._nullable=t}get tableName(){return this._tableName}set tableName(t){this._tableName=t}}OracleUserTabColumnsViewModel.attributeMap={DATA_TYPE:{physical:!0,type:"string",attribute:"_dataType"},dataType:{alias:"DATA_TYPE",typeScriptStyle:!0,type:"string",attribute:"_dataType"},TABLE_NAME:{physical:!0,type:"string",attribute:"_tableName"},tableName:{alias:"TABLE_NAME",typeScriptStyle:!0,type:"string",attribute:"_tableName"},COLUMN_NAME:{physical:!0,type:"string",attribute:"_columnName"},columnName:{alias:"COLUMN_NAME",typeScriptStyle:!0,type:"string",attribute:"_columnName"},DEFAULT_VALUE:{physical:!0,type:"string",attribute:"_defaultValue"},defaultValue:{alias:"DEFAULT_VALUE",typeScriptStyle:!0,type:"string",attribute:"_defaultValue"},COLUMN_ID:{physical:!0,type:"number",attribute:"_columnId"},columnId:{alias:"COLUMN_ID",typeScriptStyle:!0,type:"number",attribute:"_columnId"},NULLABLE:{physical:!0,type:"string",attribute:"_nullable"},nullable:{alias:"NULLABLE",typeScriptStyle:!0,type:"string",attribute:"_nullable"},CONSTRAINT_TYPE:{physical:!0,type:"string",attribute:"_constraintType"},constraintType:{alias:"CONSTRAINT_TYPE",typeScriptStyle:!0,type:"string",attribute:"_constraintType"}};