export interface CostcenterModel{
    costcenterId: string
    tdesc: string
    edesc: string
    mainCostCenterCode: string
}
export class MyCostcenterModel implements CostcenterModel {
    costcenterId: string
    tdesc: string
    edesc: string
    mainCostCenterCode: string
    constructor(data: Partial<CostcenterModel>) {
        this.costcenterId = data.costcenterId || ""
        this.tdesc = data.tdesc || ""
        this.edesc = data.edesc || ""
        this.mainCostCenterCode = data.mainCostCenterCode || ""
    }
}

