Activity.js 1017 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* 评审表 */
  2. export const Activity = {
  3. "className": "Activity",
  4. "fields": {
  5. "name":{//活动名称
  6. "type": "String",
  7. "required": false
  8. },
  9. "eduProcess": { //评审教材
  10. "type": "Pointer",
  11. "targetClass": "EduProcess",
  12. "required": false
  13. },
  14. "startDate": {//开始时间
  15. "type": "Date",
  16. "required": false
  17. },
  18. "deadline": {//截止时间
  19. "type": "Date",
  20. "required": false
  21. },
  22. "status":{//是否开始
  23. "type": "Number",
  24. "required": false
  25. },
  26. "desc":{//详情说明
  27. "type": "String",
  28. "required": false
  29. },
  30. },
  31. "classLevelPermissions": {
  32. "find": {
  33. "*": true
  34. },
  35. "get": {
  36. "*": true
  37. },
  38. "count": {
  39. "*": true
  40. },
  41. "create": {
  42. "*": true
  43. },
  44. "update": {
  45. "*": true
  46. },
  47. "delete": {
  48. "*": true
  49. },
  50. "addField": {
  51. "*": true
  52. },
  53. "protectedFields": {
  54. "*": []
  55. }
  56. }
  57. }
  58. module.exports.Activity = Activity