Guest User

Untitled

a guest
Sep 10th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. type User {
  2. name: String!
  3. email: String! @unique
  4. password: String!
  5. }
  6.  
  7. type CandidateUser {
  8. name: String!
  9. email: String! @unique
  10. password: String!
  11. applications: [Application!]!
  12. qualifications: [Qualification!]!
  13. }
  14. type EmployerUser{
  15. name: String!
  16. email: String! @unique
  17. password: String!
  18. employer: Employer!
  19. accessRight: AccessRight!
  20. }
  21.  
  22. type RootUser{
  23. name: String!
  24. email: String! @unique
  25. password: String!
  26. }
  27. type CandidateUser {
  28. rootUser: RootUser!
  29. applications: [Application!]!
  30. qualifications: [Qualification!]!
  31. }
  32. type EmployerUser{
  33. rootUser: RootUser!
  34. employer: Employer!
  35. accessRight: AccessRight!
  36. }
  37.  
  38. type User{
  39. name: String!
  40. email: String! @unique
  41. password: String!
  42. applications: [Application!]!
  43. qualifications: [Qualification!]!
  44. employer: Employer
  45. accessRight: AccessRight
  46. }
  47.  
  48. interface User {
  49. name: String!
  50. email: String! @unique
  51. password: String!
  52. }
  53.  
  54. type Candidate implements User {
  55. name: String!
  56. email: String! @unique
  57. password: String!
  58. applications: [Application!]!
  59. qualifications: [Qualification!]!
  60. }
Add Comment
Please, Sign In to add comment