@golemio/pid
Version:
Golemio PID Module
27 lines (26 loc) • 1.3 kB
TypeScript
import { JISInfotextSeverityLevel } from "../../../helpers/jis/JISInfotextSeverityLevelEnum";
import { JISInfotextsPresetsModel } from "./JISInfotextsPresetsModel";
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: JISInfotextSeverityLevel;
display_type: string;
active_period_start: Date;
active_period_end: Date | null;
description_text: IJISTranslationText;
repeat_enabled: boolean;
repeat_time_start: string | null;
repeat_time_end: string | null;
created_timestamp: Date;
updated_timestamp: Date;
created_at: CreationOptional<Date>;
updated_at: CreationOptional<Date>;
stops?: StopDto[];
presets?: JISInfotextsPresetsModel[];
static attributeModel: ModelAttributes<JISInfotextsModel>;
static jsonSchema: JSONSchemaType<IJISInfotext[]>;
}