2019-03-02 11:25:10 +01:00
|
|
|
import TeamShareBaseModel from './teamShareBase'
|
2022-07-21 00:42:36 +02:00
|
|
|
import type { IList } from './list'
|
2019-03-02 11:25:10 +01:00
|
|
|
|
2022-07-21 18:35:37 +02:00
|
|
|
export interface ITeamList extends TeamShareBaseModel {
|
2022-07-21 00:42:36 +02:00
|
|
|
listId: IList['id']
|
|
|
|
}
|
|
|
|
|
|
|
|
export default class TeamListModel extends TeamShareBaseModel implements ITeamList {
|
2022-08-13 15:38:41 +02:00
|
|
|
listId!: IList['id']
|
2022-06-23 03:22:21 +02:00
|
|
|
|
2019-03-02 11:25:10 +01:00
|
|
|
defaults() {
|
2021-10-06 22:25:06 +02:00
|
|
|
return {
|
|
|
|
...super.defaults(),
|
|
|
|
listId: 0,
|
|
|
|
}
|
2019-03-02 11:25:10 +01:00
|
|
|
}
|
|
|
|
}
|