2023-01-27 03:22:44 -08:00
|
|
|
import type { IAttachment } from './ObservableInterface';
|
2023-04-21 04:23:15 -07:00
|
|
|
export const enum LogStatus {
|
2020-12-02 02:54:10 -08:00
|
|
|
OK = 'Ok',
|
|
|
|
DELETED = 'Deleted',
|
2020-12-02 02:24:25 -08:00
|
|
|
}
|
2020-12-02 02:54:10 -08:00
|
|
|
export interface ILog {
|
|
|
|
// Required attributes
|
|
|
|
id?: string;
|
|
|
|
message?: string;
|
|
|
|
startDate?: Date;
|
|
|
|
status?: LogStatus;
|
2020-12-02 02:24:25 -08:00
|
|
|
|
2020-12-02 02:54:10 -08:00
|
|
|
// Optional attributes
|
|
|
|
attachment?: IAttachment;
|
|
|
|
|
|
|
|
// Backend generated attributes
|
|
|
|
|
|
|
|
createdBy?: string;
|
|
|
|
createdAt?: Date;
|
|
|
|
updatedBy?: string;
|
|
|
|
upadtedAt?: Date;
|
|
|
|
}
|