jhipster-jdl.jh 685B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. entity UserProfile {
  2. firstName String,
  3. lastName String,
  4. userStack String,
  5. }
  6. entity Cohort {
  7. gradDate String
  8. }
  9. entity Employer {
  10. companyName String,
  11. city String,
  12. state String
  13. }
  14. entity Post {
  15. timestamp LocalDate,
  16. content String,
  17. likes String,
  18. }
  19. entity Privacy {
  20. publicView Boolean,
  21. cohortView Boolean,
  22. employerView Boolean
  23. }
  24. relationship ManyToOne {
  25. UserProfile{employer} to Employer
  26. }
  27. relationship ManyToOne {
  28. Post{poster} to UserProfile
  29. }
  30. relationship ManyToOne {
  31. UserProfile{cohort} to Cohort
  32. }
  33. relationship OneToOne {
  34. UserProfile{user} to User
  35. }
  36. relationship ManyToOne {
  37. Post{privacySetting} to Privacy
  38. }