12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- export const Profile = {
- "className": "Profile",
- "fields": {
- "user": {
- "type": "Pointer",
- "targetClass": "_User",
- "required": false
- },
- // "name": {
- // "type": "String"
- // },
- // "phone": {
- // "type": "String"
- // },
- // "email": {
- // "type": "String"
- // },
- "telephone": {
- "type": "String"
- },
- "province": {
- "type": "String"
- },
- "companyType": {
- "type": "String"
- },
- "postName": {
- "type": "String"
- },
- "idcard": {
- "type": "String"
- },
- "identity": {
- "type": "String"
- },
- "identityFile": {
- "type": "String"
- },
- "majorSubject": {
- "type": "String"
- }
- },
- "classLevelPermissions": {
- "find": {
- "*": true
- },
- "get": {
- "*": true
- },
- "count": {
- "*": true
- },
- "create": {
- "*": true
- },
- "update": {
- "*": true
- },
- "delete": {
- "*": true
- },
- "addField": {
- "*": true
- },
- "protectedFields": {
- "*": []
- }
- }
- }
- module.exports.Profile = Profile
|