export interface JobcodeModel {
    jobCodeId: string
    tdesc: string
    edesc: string
    companyId: string
    statusCom: boolean
    statusPms: boolean
}


export class MyJobcodeModel implements JobcodeModel {
    jobCodeId: string
    tdesc: string
    edesc: string
    companyId: string
    statusCom: boolean
    statusPms: boolean
    constructor(data?: Partial<JobcodeModel>) {
        this.jobCodeId = data?.jobCodeId || ""
        this.tdesc = data?.tdesc || ""
        this.edesc = data?.edesc || ""
        this.companyId = data?.companyId || ""
        this.statusCom = data?.statusCom ?? false
        this.statusPms = data?.statusPms ?? false
    }
}

