export interface DocumentManagerModel {
    documentId: string
    companyId: string
    edesc: string
    tdesc: string
    status: number
    documentFiles: string
    lineNo: number
    createDate: string
}

export class MyDocumentManagerModel implements DocumentManagerModel {
    documentId: string
    companyId: string
    edesc: string
    tdesc: string
    status: number
    documentFiles: string
    lineNo: number
    createDate: string
    constructor(data?: Partial<DocumentManagerModel>) {
        this.documentId = data?.documentId || ""
        this.tdesc = data?.tdesc || ""
        this.edesc = data?.edesc || ""
        this.companyId = data?.companyId || ""
        this.status = data?.status ?? 0
        this.documentFiles = data?.documentFiles || ""
        this.lineNo = data?.lineNo ?? 0
        this.createDate = data?.createDate || ""
    }
}
