2019-03-02 10:25:10 +00:00
|
|
|
import TeamShareBaseModel from './teamShareBase'
|
2022-07-20 22:42:36 +00:00
|
|
|
import type { INamespace } from './namespace'
|
2019-03-02 10:25:10 +00:00
|
|
|
|
2022-07-21 16:35:37 +00:00
|
|
|
export interface ITeamNamespace extends TeamShareBaseModel {
|
2022-07-20 22:42:36 +00:00
|
|
|
namespaceId: INamespace['id']
|
|
|
|
}
|
|
|
|
|
|
|
|
export default class TeamNamespaceModel extends TeamShareBaseModel implements ITeamNamespace {
|
2022-08-13 13:38:41 +00:00
|
|
|
namespaceId!: INamespace['id']
|
2022-06-23 01:22:21 +00:00
|
|
|
|
2019-03-02 10:25:10 +00:00
|
|
|
defaults() {
|
2021-10-06 20:25:06 +00:00
|
|
|
return {
|
|
|
|
...super.defaults(),
|
|
|
|
namespaceId: 0,
|
|
|
|
}
|
2019-03-02 10:25:10 +00:00
|
|
|
}
|
|
|
|
}
|