import { Entity } from '@loopback/repository'; import { TodoListWithRelations } from './todo-list.model'; export declare class Todo extends Entity { id?: number; title: string; desc?: string; isComplete?: boolean; todoListId: number; constructor(data?: Partial); } export interface TodoRelations { todoList?: TodoListWithRelations; } export type TodoWithRelations = Todo & TodoRelations;