2019-03-02 11:25:10 +01:00
|
|
|
import TeamShareBaseModel from './teamShareBase'
|
2022-07-21 00:42:36 +02:00
|
|
|
import type { INamespace } from './namespace'
|
2019-03-02 11:25:10 +01:00
|
|
|
|
2022-07-21 18:35:37 +02:00
|
|
|
export interface ITeamNamespace extends TeamShareBaseModel {
|
2022-07-21 00:42:36 +02:00
|
|
|
namespaceId: INamespace['id']
|
|
|
|
}
|
|
|
|
|
|
|
|
export default class TeamNamespaceModel extends TeamShareBaseModel implements ITeamNamespace {
|
2022-08-14 12:15:45 +02:00
|
|
|
namespaceId: INamespace['id'] = 0
|
2022-06-23 03:22:21 +02:00
|
|
|
|
2022-08-14 12:15:45 +02:00
|
|
|
constructor(data: Partial<ITeamNamespace>) {
|
|
|
|
super(data)
|
|
|
|
this.assignData(data)
|
2019-03-02 11:25:10 +01:00
|
|
|
}
|
|
|
|
}
|