interface Diary<T = DiaryType> {
    account: null | { id: number; label: string; number: string };
    blocked: boolean;
    closed: boolean;
    code: string;
    diary_id: number;
    diary_type_code: keyof T;
    diary_type_id: T[keyof T];
    diary_type_name: string;
    name: string;
}

Type Parameters

Properties

account: null | { id: number; label: string; number: string }
blocked: boolean
closed: boolean
code: string
diary_id: number
diary_type_code: keyof T
diary_type_id: T[keyof T]
diary_type_name: string
name: string