babyfish-ct / jimmer

A revolutionary ORM framework for both java and kotlin.
Apache License 2.0
876 stars 88 forks source link

[BUG] LocalTime 在生成前端 api 时没有正确翻译为 string #746

Closed pot-mot closed 3 weeks ago

pot-mot commented 3 weeks ago
    /**
     * 开始时间
     */
    @Column(name = "START_TIME")
    LocalTime startTime();

    /**
     * 结束时间
     */
    @Column(name = "END_TIME")
    LocalTime endTime();
    /**
     * 开始时间
     */
    startTime: LocalTime;
    /**
     * 结束时间
     */
    endTime: LocalTime;
export interface LocalTime {
    hour: number;
    minute: number;
    second: number;
    nano: number;
}

预期被翻译为 string