@golemio/pid
Version:
Golemio PID Module
22 lines (21 loc) • 1.1 kB
TypeScript
import { InfotextSeverityLevel } from "../../../output-gateway/shared/constants/jis/InfotextSeverityLevelEnum";
import { StopDto } from "../../ropid-gtfs/models/StopDto";
import { JSONSchemaType } from "@golemio/core/dist/shared/ajv";
import { CreationOptional, InferAttributes, InferCreationAttributes, Model, ModelAttributes } from "@golemio/core/dist/shared/sequelize";
import { IJISInfotext, IJISTranslationText } from "./interfaces";
export declare class JISInfotextsModel extends Model<InferAttributes<JISInfotextsModel>, InferCreationAttributes<JISInfotextsModel>> implements IJISInfotext {
static tableName: string;
id: string;
severity_level: InfotextSeverityLevel;
display_type: string;
active_period_start: Date;
active_period_end: Date | null;
description_text: IJISTranslationText;
created_timestamp: Date;
updated_timestamp: Date;
created_at: CreationOptional<Date>;
updated_at: CreationOptional<Date>;
stops?: StopDto[];
static attributeModel: ModelAttributes<JISInfotextsModel>;
static jsonSchema: JSONSchemaType<IJISInfotext[]>;
}