"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IssueHistoryList = exports.IssueHistorySummary = exports.IssueHistory = void 0;
const tslib_1 = require("tslib");
const type_graphql_1 = require("type-graphql");
let IssueHistory = class IssueHistory {
};
exports.IssueHistory = IssueHistory;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: 'History ID' }),
    tslib_1.__metadata("design:type", String)
], IssueHistory.prototype, "id", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '인버터 번호' }),
    tslib_1.__metadata("design:type", String)
], IssueHistory.prototype, "inverter_no", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '수집 시간' }),
    tslib_1.__metadata("design:type", String)
], IssueHistory.prototype, "collected_at", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '통신 장애 상태' }),
    tslib_1.__metadata("design:type", Number)
], IssueHistory.prototype, "com", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전 장애 상태' }),
    tslib_1.__metadata("design:type", Number)
], IssueHistory.prototype, "run", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '에러 코드' }),
    tslib_1.__metadata("design:type", String)
], IssueHistory.prototype, "fault", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '통신 장애 상태' }),
    tslib_1.__metadata("design:type", String)
], IssueHistory.prototype, "isNoSignal", void 0);
exports.IssueHistory = IssueHistory = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], IssueHistory);
let IssueHistorySummary = class IssueHistorySummary {
};
exports.IssueHistorySummary = IssueHistorySummary;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '총 개수' }),
    tslib_1.__metadata("design:type", Number)
], IssueHistorySummary.prototype, "count", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '통신 장애 개수' }),
    tslib_1.__metadata("design:type", Number)
], IssueHistorySummary.prototype, "com", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '발전 장애 개수' }),
    tslib_1.__metadata("design:type", Number)
], IssueHistorySummary.prototype, "run", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true, description: '통신 장애 개수' }),
    tslib_1.__metadata("design:type", Number)
], IssueHistorySummary.prototype, "isNoSignal", void 0);
exports.IssueHistorySummary = IssueHistorySummary = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], IssueHistorySummary);
let IssueHistoryList = class IssueHistoryList {
};
exports.IssueHistoryList = IssueHistoryList;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => [IssueHistory]),
    tslib_1.__metadata("design:type", Array)
], IssueHistoryList.prototype, "items", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => IssueHistorySummary),
    tslib_1.__metadata("design:type", IssueHistorySummary)
], IssueHistoryList.prototype, "total", void 0);
exports.IssueHistoryList = IssueHistoryList = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], IssueHistoryList);
//# sourceMappingURL=issue-history-type.js.map