EduReview.js 995 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* 评审表 */
  2. export const EduReview = {
  3. "className": "EduReview",
  4. "fields": {
  5. "eduTextbook": { //评审教材
  6. "type": "Pointer",
  7. "targetClass": "EduTextbook",
  8. "required": false
  9. },
  10. "user": {
  11. "type": "Pointer",
  12. "targetClass": "_User",
  13. "required": false
  14. },
  15. "profile": { //评审用户
  16. "type": "Pointer",
  17. "targetClass": "Profile",
  18. "required": false
  19. },
  20. "score": {//最终分数
  21. "type": "Number"
  22. },
  23. "num":{//预估分
  24. "type": "Number"
  25. },
  26. "verify":{//是否完成
  27. "type": "Boolean"
  28. }
  29. },
  30. "classLevelPermissions": {
  31. "find": {
  32. "*": true
  33. },
  34. "get": {
  35. "*": true
  36. },
  37. "count": {
  38. "*": true
  39. },
  40. "create": {
  41. "*": true
  42. },
  43. "update": {
  44. "*": true
  45. },
  46. "delete": {
  47. "*": true
  48. },
  49. "addField": {
  50. "*": true
  51. },
  52. "protectedFields": {
  53. "*": []
  54. }
  55. }
  56. }
  57. module.exports.EduReview = EduReview