2023-04-06 09:39:24 +00:00
|
|
|
export interface IEstimate {
|
|
|
|
id: string;
|
|
|
|
created_at: Date;
|
|
|
|
updated_at: Date;
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
created_by: string;
|
|
|
|
updated_by: string;
|
2023-04-21 19:29:57 +00:00
|
|
|
points: IEstimatePoint[];
|
2023-04-06 09:39:24 +00:00
|
|
|
project: string;
|
2023-05-05 10:15:38 +00:00
|
|
|
project_detail: IProject;
|
2023-04-06 09:39:24 +00:00
|
|
|
workspace: string;
|
2023-05-05 10:15:38 +00:00
|
|
|
workspace_detail: IWorkspace;
|
2023-04-06 09:39:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IEstimatePoint {
|
|
|
|
id: string;
|
|
|
|
created_at: string;
|
|
|
|
created_by: string;
|
|
|
|
description: string;
|
|
|
|
estimate: string;
|
|
|
|
key: number;
|
|
|
|
project: string;
|
|
|
|
updated_at: string;
|
|
|
|
updated_by: string;
|
|
|
|
value: string;
|
|
|
|
workspace: string;
|
|
|
|
}
|
2023-04-21 19:29:57 +00:00
|
|
|
|
|
|
|
export interface IEstimateFormData {
|
|
|
|
estimate: {
|
|
|
|
name: string;
|
|
|
|
description: string;
|
|
|
|
};
|
|
|
|
estimate_points: {
|
2023-04-22 18:30:46 +00:00
|
|
|
id?: string;
|
2023-04-21 19:29:57 +00:00
|
|
|
key: number;
|
|
|
|
value: string;
|
|
|
|
}[];
|
|
|
|
}
|