chore: move frontend files
This commit is contained in:
14
frontend/src/models/userProject.ts
Normal file
14
frontend/src/models/userProject.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import UserShareBaseModel from './userShareBase'
|
||||
|
||||
import type {IUserProject} from '@/modelTypes/IUserProject'
|
||||
import type {IProject} from '@/modelTypes/IProject'
|
||||
|
||||
// This class extends the user share model with a 'rights' parameter which is used in sharing
|
||||
export default class UserProjectModel extends UserShareBaseModel implements IUserProject {
|
||||
projectId: IProject['id'] = 0
|
||||
|
||||
constructor(data: Partial<IUserProject>) {
|
||||
super(data)
|
||||
this.assignData(data)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user