"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RouteSubAgencyDto = void 0;
const sequelize_1 = require("@golemio/core/dist/shared/sequelize");
class RouteSubAgencyDto extends sequelize_1.Model {
}
exports.RouteSubAgencyDto = RouteSubAgencyDto;
RouteSubAgencyDto.attributeModel = {
    route_id: { type: sequelize_1.DataTypes.STRING, primaryKey: true },
    route_licence_number: { type: sequelize_1.DataTypes.INTEGER, allowNull: true },
    sub_agency_id: { type: sequelize_1.DataTypes.INTEGER, primaryKey: true },
    sub_agency_name: { type: sequelize_1.DataTypes.STRING },
};
RouteSubAgencyDto.jsonSchema = {
    type: "array",
    items: {
        type: "object",
        properties: {
            route_id: { type: "string" },
            route_licence_number: { oneOf: [{ type: "integer" }, { type: "null", nullable: true }] },
            sub_agency_id: { type: "integer" },
            sub_agency_name: { type: "string" },
        },
        required: ["route_id", "sub_agency_id", "sub_agency_name"],
    },
};
//# sourceMappingURL=RouteSubAgencyDto.js.map