251225:1703 On going update to 1.7.0: Refoctory drawing Module not finish
This commit is contained in:
@@ -8,7 +8,9 @@ export interface DrawingRevision {
|
||||
revisionDescription?: string;
|
||||
revisedByName: string;
|
||||
fileUrl: string;
|
||||
isCurrent: boolean;
|
||||
isCurrent: boolean | null; // Updated: null = not current (MariaDB UNIQUE pattern)
|
||||
createdBy?: number; // Added v1.7.0
|
||||
updatedBy?: number; // Added v1.7.0
|
||||
}
|
||||
|
||||
export interface ContractDrawing {
|
||||
@@ -39,6 +41,8 @@ export interface AsBuiltDrawing {
|
||||
id: number;
|
||||
drawingNumber: string;
|
||||
projectId: number;
|
||||
mainCategoryId: number;
|
||||
subCategoryId: number;
|
||||
currentRevision?: DrawingRevision;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
export interface CreateAsBuiltDrawingDto {
|
||||
projectId: number;
|
||||
drawingNumber: string;
|
||||
mainCategoryId: number;
|
||||
subCategoryId: number;
|
||||
|
||||
// First Revision Data
|
||||
revisionLabel?: string;
|
||||
|
||||
Reference in New Issue
Block a user