260324:1349 Refactor RFA #01
This commit is contained in:
@@ -56,6 +56,9 @@ export interface SearchRfaDto {
|
||||
/** กรองตามสถานะ (เช่น Draft, For Approve) */
|
||||
statusId?: number;
|
||||
|
||||
/** กรองตามสถานะ code โดยตรง (เช่น 'DFT', 'FAP', 'FRE') */
|
||||
statusCode?: string;
|
||||
|
||||
/** ค้นหาจาก เลขที่เอกสาร หรือ หัวข้อเรื่อง */
|
||||
search?: string;
|
||||
|
||||
|
||||
@@ -36,11 +36,17 @@ export interface RFA {
|
||||
revisions: {
|
||||
id: number;
|
||||
revisionNumber: number;
|
||||
revisionLabel?: string;
|
||||
subject: string;
|
||||
description?: string;
|
||||
body?: string;
|
||||
remarks?: string;
|
||||
dueDate?: string;
|
||||
isCurrent: boolean;
|
||||
createdAt?: string;
|
||||
statusCode?: { statusCode: string; statusName: string };
|
||||
approveCode?: { approveCode: string; approveCodeName: string };
|
||||
approvedDate?: string;
|
||||
items?: RFAItem[];
|
||||
}[];
|
||||
discipline?: {
|
||||
@@ -61,6 +67,11 @@ export interface RFA {
|
||||
projectName: string;
|
||||
projectCode: string;
|
||||
};
|
||||
discipline?: {
|
||||
disciplineCode: string;
|
||||
codeNameEn?: string;
|
||||
codeNameTh?: string;
|
||||
};
|
||||
};
|
||||
|
||||
// Deprecated/Mapped fields
|
||||
|
||||
Reference in New Issue
Block a user