UNPKG

@experts_hub/shared

Version:

Shared DTOs, interfaces, and utilities for experts hub applications

35 lines (34 loc) 1.02 kB
import { BaseEntity } from "./base.entity"; import { User } from "./user.entity"; import { Job } from "./job.entity"; import { TimesheetLogs } from "./timesheet-logs.entity"; import { TimesheetLineHistory } from "./timesheet-line-history.entity"; import { Invoice } from "./invoice.entity"; export declare enum TimesheetLineStatusEnum { DRAFT = "DRAFT", SEND = "SEND", SEND_BACK = "SEND_BACK", APPROVED = "APPROVED", REJECTED = "REJECTED", PAID = "PAID", MISSING = "MISSING", ACTIVE = "ACTIVE" } export declare class TimesheetLine extends BaseEntity { jobId: number; job: Job; clientId: number; client: User; freelancerId: number; freelancer: User; timesheetLogs: TimesheetLogs[]; timesheetLineHistory: TimesheetLineHistory[]; uniqueId: string; weekStartDate: Date; weekEndDate: Date; status: TimesheetLineStatusEnum; weeklyHoursSum: string; isInvoiceGenrated: boolean; isInvoiceApproved: boolean; invoice: Invoice[]; }