feat: add modelTypes
This commit is contained in:
parent
8416b1f448
commit
7d4ba6249e
91 changed files with 751 additions and 513 deletions
16
src/modelTypes/ITeam.ts
Normal file
16
src/modelTypes/ITeam.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type {IAbstract} from './IAbstract'
|
||||
import type {IUser} from './IUser'
|
||||
import type {ITeamMember} from './ITeamMember'
|
||||
import type {Right} from '@/constants/rights'
|
||||
|
||||
export interface ITeam extends IAbstract {
|
||||
id: number
|
||||
name: string
|
||||
description: string
|
||||
members: ITeamMember[]
|
||||
right: Right
|
||||
|
||||
createdBy: IUser
|
||||
created: Date
|
||||
updated: Date
|
||||
}
|
||||
Reference in a new issue