System.register(["__unresolved_0", "cc", "__unresolved_1"], function (_export, _context) {
  "use strict";

  var _reporterNs, _cclegacy, JsonUtil, TableLanguage, _crd;

  function _reportPossibleCrUseOfJsonUtil(extras) {
    _reporterNs.report("JsonUtil", "db://oops-framework/core/utils/JsonUtil", _context.meta, extras);
  }

  _export("TableLanguage", void 0);

  return {
    setters: [function (_unresolved_) {
      _reporterNs = _unresolved_;
    }, function (_cc) {
      _cclegacy = _cc.cclegacy;
    }, function (_unresolved_2) {
      JsonUtil = _unresolved_2.JsonUtil;
    }],
    execute: function () {
      _crd = true;

      _cclegacy._RF.push({}, "74f4fgFfZxHnqCfURfaciMV", "TableLanguage", undefined);

      _export("TableLanguage", TableLanguage = class TableLanguage {
        constructor() {
          this.data = void 0;

          /** 编号【KEY】 */
          this.id = 0;
        }

        init(id) {
          var table = (_crd && JsonUtil === void 0 ? (_reportPossibleCrUseOfJsonUtil({
            error: Error()
          }), JsonUtil) : JsonUtil).get(TableLanguage.TableName);
          this.data = table[id];
          this.id = id;
        }

        /** 简体中文 */
        get zh() {
          return this.data.zh;
        }
        /** 英文 */


        get en() {
          return this.data.en;
        }

      });

      TableLanguage.TableName = "Language";

      _cclegacy._RF.pop();

      _crd = false;
    }
  };
});
//# sourceMappingURL=03536bd8415ddc7dc1e334283fb048fac6440b15.js.map