mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
Created a UserAdmin model that represents the Users for the Admin area.
This commit is contained in:
parent
2e7c35aab6
commit
c9d6b88dd0
14
backend/src/graphql/model/UserAdmin.ts
Normal file
14
backend/src/graphql/model/UserAdmin.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { ObjectType, Field, Int } from 'type-graphql'
|
||||
import { KlickTipp } from './KlickTipp'
|
||||
|
||||
@ObjectType()
|
||||
export class UserAdmin {
|
||||
@Field(() => String)
|
||||
email: string
|
||||
|
||||
@Field(() => String)
|
||||
firstName: string
|
||||
|
||||
@Field(() => String)
|
||||
lastName: string
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user