first commit
This commit is contained in:
48
frontend/app/utils/interface/productOfProject.ts
Normal file
48
frontend/app/utils/interface/productOfProject.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
import { Expense } from "./expense";
|
||||
|
||||
export interface ProductOfProject {
|
||||
productIdentifier: string;
|
||||
projectIdentifier: string;
|
||||
projectName: string;
|
||||
projectManager: string;
|
||||
|
||||
accountId: string;
|
||||
leadIdentifier: string;
|
||||
|
||||
productStatus: string;
|
||||
projectStatus: string;
|
||||
productType: string;
|
||||
productDescription: string;
|
||||
discountPercent: number;
|
||||
|
||||
resourceDataWithAllocation: ResourceAllocationDto[];
|
||||
scheduleData?: { projectIdentifier?: string; productIdentifier?: string; task: any[]; group?: Record<string, any>; dependency?: any[] } | null;
|
||||
|
||||
createdOn: string;
|
||||
createdBy: string;
|
||||
updatedBy: string;
|
||||
updatedOn: string;
|
||||
expenseDetails: Record<string, Expense>;
|
||||
}
|
||||
|
||||
|
||||
export interface ResourceAllocationDto {
|
||||
id?: string;
|
||||
allocation: Record<string, number>;
|
||||
detailedAllocation: Record<string, DetailedAllocationValue>;
|
||||
resourceType: string;
|
||||
role: string;
|
||||
gradeId: number;
|
||||
employeeName: string;
|
||||
taskName: string;
|
||||
resourceId: string;
|
||||
taskId: number;
|
||||
}
|
||||
|
||||
export interface DetailedAllocationValue {
|
||||
hours?: number;
|
||||
date?: string;
|
||||
cost?: number;
|
||||
comments?: string;
|
||||
approved?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user