"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 MsK8sClusterCUImpl = /** @class */ (function (_super) {
    __extends(MsK8sClusterCUImpl, _super);
    function MsK8sClusterCUImpl() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    MsK8sClusterCUImpl.prototype.newInstance = function () {
        return new MsK8sClusterCUImpl();
    };
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "ID", {
        get: function () {
            return new model_util_1.FieldUtil('id', 'id', 'id', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "NAME", {
        get: function () {
            return new model_util_1.FieldUtil('name', 'name', '名称', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "CLOUD_PROVIDER", {
        get: function () {
            return new model_util_1.FieldUtil('cloud_provider', 'cloudProvider', '0:阿里云,1:华为云', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "JSON_CONFIG", {
        get: function () {
            return new model_util_1.FieldUtil('json_config', 'jsonConfig', 'JSON配置', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "DISABLED", {
        get: function () {
            return new model_util_1.FieldUtil('disabled', 'disabled', '禁用标记', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "CREATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('create_time', 'createTime', 'create_time', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "UPDATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('update_time', 'updateTime', 'update_time', this);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterCUImpl.prototype, "CLUSTER_TYPE", {
        get: function () {
            return new model_util_1.FieldUtil('cluster_type', 'clusterType', '集群类型 0:托管版,1:serverless版', this);
        },
        enumerable: true,
        configurable: true
    });
    return MsK8sClusterCUImpl;
}(model_util_1.ConditionUtilImpl));
var MsK8sClusterMU = /** @class */ (function (_super) {
    __extends(MsK8sClusterMU, _super);
    function MsK8sClusterMU() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.tableName = 'ms_k8s_cluster';
        _this.tableFields = ['id', 'name', 'cloud_provider', 'json_config', 'disabled', 'create_time', 'update_time', 'cluster_type'];
        _this.modelFields = ['id', 'name', 'cloudProvider', 'jsonConfig', 'disabled', 'createTime', 'updateTime', 'clusterType'];
        _this.modelIdFields = ['id'];
        _this.tableIdFields = ['id'];
        _this.idType = model_util_1.IdType.CUSTOM;
        _this.joinTables = [];
        _this.subTables = [];
        return _this;
    }
    MsK8sClusterMU_1 = MsK8sClusterMU;
    MsK8sClusterMU.prototype.createConditionUtil = function () {
        return new MsK8sClusterCUImpl();
    };
    Object.defineProperty(MsK8sClusterMU, "ID", {
        get: function () {
            return new model_util_1.FieldUtil('id', 'id', 'id', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "NAME", {
        get: function () {
            return new model_util_1.FieldUtil('name', 'name', '名称', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "CLOUD_PROVIDER", {
        get: function () {
            return new model_util_1.FieldUtil('cloud_provider', 'cloudProvider', '0:阿里云,1:华为云', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "JSON_CONFIG", {
        get: function () {
            return new model_util_1.FieldUtil('json_config', 'jsonConfig', 'JSON配置', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "DISABLED", {
        get: function () {
            return new model_util_1.FieldUtil('disabled', 'disabled', '禁用标记', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "CREATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('create_time', 'createTime', 'create_time', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "UPDATE_TIME", {
        get: function () {
            return new model_util_1.FieldUtil('update_time', 'updateTime', 'update_time', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU, "CLUSTER_TYPE", {
        get: function () {
            return new model_util_1.FieldUtil('cluster_type', 'clusterType', '集群类型 0:托管版,1:serverless版', new MsK8sClusterCUImpl());
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "ID", {
        get: function () {
            return MsK8sClusterMU_1.ID;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "NAME", {
        get: function () {
            return MsK8sClusterMU_1.NAME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "CLOUD_PROVIDER", {
        get: function () {
            return MsK8sClusterMU_1.CLOUD_PROVIDER;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "JSON_CONFIG", {
        get: function () {
            return MsK8sClusterMU_1.JSON_CONFIG;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "DISABLED", {
        get: function () {
            return MsK8sClusterMU_1.DISABLED;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "CREATE_TIME", {
        get: function () {
            return MsK8sClusterMU_1.CREATE_TIME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "UPDATE_TIME", {
        get: function () {
            return MsK8sClusterMU_1.UPDATE_TIME;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(MsK8sClusterMU.prototype, "CLUSTER_TYPE", {
        get: function () {
            return MsK8sClusterMU_1.CLUSTER_TYPE;
        },
        enumerable: true,
        configurable: true
    });
    var MsK8sClusterMU_1;
    MsK8sClusterMU = MsK8sClusterMU_1 = __decorate([
        typescript_ioc_1.Singleton
    ], MsK8sClusterMU);
    return MsK8sClusterMU;
}(model_util_1.TableUtilImpl));
exports.MsK8sClusterMU = MsK8sClusterMU;
//# sourceMappingURL=MsK8sCluster.js.map