import TeamShareBaseModel from './teamShareBase' import type { INamespace } from './namespace' export interface ITeamNamespace extends TeamShareBaseModel { namespaceId: INamespace['id'] } export default class TeamNamespaceModel extends TeamShareBaseModel implements ITeamNamespace { namespaceId: INamespace['id'] = 0 constructor(data: Partial) { super(data) this.assignData(data) } }