export interface DatasourceTableModel {
    companyId: string
    companyName: string
    databaseName: string
    dbType: string
    password: string
    portNumber: string
    serverName: string
    status: string
    userName: string
}
export class MyDatasourceTableModel implements DatasourceTableModel {
    companyId: string
    companyName: string
    databaseName: string
    dbType: string
    password: string
    portNumber: string
    serverName: string
    status: string
    userName: string
    constructor(data?: Partial<DatasourceTableModel>) {
        this.companyId = data?.companyId || ''
        this.companyName = data?.companyName || ''
        this.databaseName = data?.databaseName || ''
        this.dbType = data?.dbType || ''
        this.password = data?.password || ''
        this.portNumber = data?.portNumber || ''
        this.serverName = data?.serverName || ''
        this.status = data?.status || ''
        this.userName = data?.userName || ''
    }
}