@egi/smart-db
Version:
Unified Smart DB Access
1 lines • 3.65 kB
JavaScript
import{AbstractModel}from"./abstract-model";export class SmartDbLogModel extends AbstractModel{constructor(t){super(),t&&this.assign(t)}static getClassName(){return"SmartDbLogModel"}static getTableName(){return"smart_db_log"}static getPrimaryKey(){return"LOG_ID"}static from(t){let e=null;return t&&(e=new SmartDbLogModel,t instanceof SmartDbLogModel?Object.assign(e,t):e.assign(t)),e}clone(){return SmartDbLogModel.from(this)}getClassName(){return"SmartDbLogModel"}getTableName(){return"smart_db_log"}getPrimaryKey(){return"LOG_ID"}getAttributeMap(){return SmartDbLogModel.attributeMap}get id(){return this._id}set id(t){this._id=t}get log_id(){return this._id}set log_id(t){this._id=t}get LOG_ID(){return this._id}set LOG_ID(t){this._id=t}get severity(){return this._severity}set severity(t){this._severity=t}get log_severity(){return this._severity}set log_severity(t){this._severity=t}get LOG_SEVERITY(){return this._severity}set LOG_SEVERITY(t){this._severity=t}get type(){return this._type}set type(t){this._type=t}get log_type(){return this._type}set log_type(t){this._type=t}get LOG_TYPE(){return this._type}set LOG_TYPE(t){this._type=t}get location(){return this._location}set location(t){this._location=t}get log_location(){return this._location}set log_location(t){this._location=t}get LOG_LOCATION(){return this._location}set LOG_LOCATION(t){this._location=t}get info(){return this._info}set info(t){this._info=t}get log_info(){return this._info}set log_info(t){this._info=t}get LOG_INFO(){return this._info}set LOG_INFO(t){this._info=t}get data(){return this._data}set data(t){this._data=t}get log_data(){return this._data}set log_data(t){this._data=t}get LOG_DATA(){return this._data}set LOG_DATA(t){this._data=t}get user(){return this._user}set user(t){this._user=t}get log_user(){return this._user}set log_user(t){this._user=t}get LOG_USER(){return this._user}set LOG_USER(t){this._user=t}get timestamp(){return this._timestamp}set timestamp(t){this._timestamp=t}get log_timestamp(){return this._timestamp}set log_timestamp(t){this._timestamp=t}get LOG_TIMESTAMP(){return this._timestamp}set LOG_TIMESTAMP(t){this._timestamp=t}}SmartDbLogModel.attributeMap={id:{alias:"LOG_ID",typeScriptStyle:!0,type:"number",attribute:"_id"},log_id:{type:"number",attribute:"_id"},LOG_ID:{physical:!0,type:"number",attribute:"_id"},severity:{alias:"LOG_SEVERITY",typeScriptStyle:!0,type:"string",attribute:"_severity"},log_severity:{type:"string",attribute:"_severity"},LOG_SEVERITY:{physical:!0,type:"string",attribute:"_severity"},type:{alias:"LOG_TYPE",typeScriptStyle:!0,type:"string",attribute:"_type"},log_type:{type:"string",attribute:"_type"},LOG_TYPE:{physical:!0,type:"string",attribute:"_type"},location:{alias:"LOG_LOCATION",typeScriptStyle:!0,type:"string",attribute:"_location"},log_location:{type:"string",attribute:"_location"},LOG_LOCATION:{physical:!0,type:"string",attribute:"_location"},info:{alias:"LOG_INFO",typeScriptStyle:!0,type:"string",attribute:"_info"},log_info:{type:"string",attribute:"_info"},LOG_INFO:{physical:!0,type:"string",attribute:"_info"},data:{alias:"LOG_DATA",typeScriptStyle:!0,type:"string",attribute:"_data"},log_data:{type:"string",attribute:"_data"},LOG_DATA:{physical:!0,type:"string",attribute:"_data"},user:{alias:"LOG_USER",typeScriptStyle:!0,type:"string",attribute:"_user"},log_user:{type:"string",attribute:"_user"},LOG_USER:{physical:!0,type:"string",attribute:"_user"},timestamp:{alias:"LOG_TIMESTAMP",typeScriptStyle:!0,type:"SqlValueType",attribute:"_timestamp"},log_timestamp:{type:"SqlValueType",attribute:"_timestamp"},LOG_TIMESTAMP:{physical:!0,type:"SqlValueType",attribute:"_timestamp"}};