Files
lcbp3/frontend/types/rfa.ts
admin c8a0f281ef
Some checks failed
Spec Validation / validate-markdown (push) Has been cancelled
Spec Validation / validate-diagrams (push) Has been cancelled
Spec Validation / check-todos (push) Has been cancelled
251210:1709 Frontend: reeactor organization and run build
2025-12-10 17:09:11 +07:00

38 lines
817 B
TypeScript

export interface RFAItem {
id?: number;
itemNo: string;
description: string;
quantity: number;
unit: string;
status?: "PENDING" | "APPROVED" | "REJECTED";
}
export interface RFA {
rfaId: number;
rfaNumber: string;
subject: string;
description?: string;
contractId: number;
disciplineId: number;
status: "DRAFT" | "PENDING" | "IN_REVIEW" | "APPROVED" | "REJECTED" | "CLOSED";
createdAt: string;
updatedAt: string;
items: RFAItem[];
// Mock fields for display
contractName?: string;
disciplineName?: string;
}
export interface CreateRFADto {
projectId?: number;
rfaTypeId: number;
title: string;
description?: string;
contractId: number;
disciplineId: number;
toOrganizationId: number;
dueDate?: string;
shopDrawingRevisionIds?: number[];
items: RFAItem[];
}