返回给用户的搜索结果基类

interface BusLineResult {
    busCompany?: string;
    busLineName?: string;
    isMonthTicket?: boolean;
    startTime?: Date;
    endTime?: Date;
    uid?: string;
    stations?: BusStation[];
    steps?: BusStep[];
    basePrice?: number;
    maxPrice?: number;
    lineDirection?: string;
    error?: ERRORNO;
    status?: number;
}

Hierarchy (view full)

Properties

busCompany?: string

公交公司名称

busLineName?: string

公交线路名称

isMonthTicket?: boolean

公交是线是否有月票

startTime?: Date

公交路线首班车时间

endTime?: Date

公交路线末班车时间

uid?: string

公交线路uid

stations?: BusStation[]

所有公交站点信息

steps?: BusStep[]

封装分段坐标点,以便扩展

basePrice?: number

公交起步价

maxPrice?: number

公交路线的最高票价

lineDirection?: string

公交路线方向

error?: ERRORNO

检索结果错误码, 各错误值见ERRORNO

status?: number