"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var model_util_1 = require("model-util");
var typescript_ioc_1 = require("typescript-ioc");
var MsMonitorMetricsCUImpl = /** @class */ (function (_super) {
    __extends(MsMonitorMetricsCUImpl, _super);
    function MsMonitorMetricsCUImpl() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    MsMonitorMetricsCUImpl.prototype.newInstance = function () {
        return new MsMonitorMetricsCUImpl();
    };
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "ID", {
        get: function () {
            return new model_util_1.FieldUtil('id', 'id', 'id', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "CREATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('create_time', 'createTime', 'create_time', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "UPDATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('update_time', 'updateTime', 'update_time', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "STATE", {
        get: function () {
            return new model_util_1.FieldUtil('state', 'state', 'state', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "CODE", {
        get: function () {
            return new model_util_1.FieldUtil('code', 'code', '代码', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "NAME", {
        get: function () {
            return new model_util_1.FieldUtil('name', 'name', '名称', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "UNIT_NAME", {
        get: function () {
            return new model_util_1.FieldUtil('unit_name', 'unitName', '单位名称', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "PROMETHEUS_QUERY_PARAM", {
        get: function () {
            return new model_util_1.FieldUtil('prometheus_query_param', 'prometheusQueryParam', 'prometheus查询查询参数定义（JSON)', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsCUImpl.prototype, "REMARK", {
        get: function () {
            return new model_util_1.FieldUtil('remark', 'remark', '备注', this);
        },
        enumerable: true,
        configurable: true
    });
    return MsMonitorMetricsCUImpl;
}(model_util_1.ConditionUtilImpl));
var MsMonitorMetricsMU = /** @class */ (function (_super) {
    __extends(MsMonitorMetricsMU, _super);
    function MsMonitorMetricsMU() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.tableName = 'ms_monitor_metrics';
        _this.tableFields = ['id', 'create_time', 'update_time', 'state', 'code', 'name', 'unit_name', 'prometheus_query_param', 'remark'];
        _this.modelFields = ['id', 'createTime', 'updateTime', 'state', 'code', 'name', 'unitName', 'prometheusQueryParam', 'remark'];
        _this.modelIdFields = ['id'];
        _this.tableIdFields = ['id'];
        _this.idType = model_util_1.IdType.CUSTOM;
        _this.joinTables = [];
        _this.subTables = [];
        return _this;
    }
    MsMonitorMetricsMU_1 = MsMonitorMetricsMU;
    MsMonitorMetricsMU.prototype.createConditionUtil = function () {
        return new MsMonitorMetricsCUImpl();
    };
    Object.defineProperty(MsMonitorMetricsMU, "ID", {
        get: function () {
            return new model_util_1.FieldUtil('id', 'id', 'id', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "CREATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('create_time', 'createTime', 'create_time', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "UPDATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('update_time', 'updateTime', 'update_time', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "STATE", {
        get: function () {
            return new model_util_1.FieldUtil('state', 'state', 'state', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "CODE", {
        get: function () {
            return new model_util_1.FieldUtil('code', 'code', '代码', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "NAME", {
        get: function () {
            return new model_util_1.FieldUtil('name', 'name', '名称', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "UNIT_NAME", {
        get: function () {
            return new model_util_1.FieldUtil('unit_name', 'unitName', '单位名称', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "PROMETHEUS_QUERY_PARAM", {
        get: function () {
            return new model_util_1.FieldUtil('prometheus_query_param', 'prometheusQueryParam', 'prometheus查询查询参数定义（JSON)', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU, "REMARK", {
        get: function () {
            return new model_util_1.FieldUtil('remark', 'remark', '备注', new MsMonitorMetricsCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "ID", {
        get: function () {
            return MsMonitorMetricsMU_1.ID;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "CREATE_TIME", {
        get: function () {
            return MsMonitorMetricsMU_1.CREATE_TIME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "UPDATE_TIME", {
        get: function () {
            return MsMonitorMetricsMU_1.UPDATE_TIME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "STATE", {
        get: function () {
            return MsMonitorMetricsMU_1.STATE;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "CODE", {
        get: function () {
            return MsMonitorMetricsMU_1.CODE;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "NAME", {
        get: function () {
            return MsMonitorMetricsMU_1.NAME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "UNIT_NAME", {
        get: function () {
            return MsMonitorMetricsMU_1.UNIT_NAME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "PROMETHEUS_QUERY_PARAM", {
        get: function () {
            return MsMonitorMetricsMU_1.PROMETHEUS_QUERY_PARAM;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsMonitorMetricsMU.prototype, "REMARK", {
        get: function () {
            return MsMonitorMetricsMU_1.REMARK;
        },
        enumerable: true,
        configurable: true
    });
    var MsMonitorMetricsMU_1;
    MsMonitorMetricsMU = MsMonitorMetricsMU_1 = __decorate([
        typescript_ioc_1.Singleton
    ], MsMonitorMetricsMU);
    return MsMonitorMetricsMU;
}(model_util_1.TableUtilImpl));
exports.MsMonitorMetricsMU = MsMonitorMetricsMU;
//# sourceMappingURL=MsMonitorMetrics.js.map