Model noticeusers
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| admin | x | x | x | x |
| user | x | x | | |
| owner | x | x | x | x |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| cleared | Boolean | | | false | x | | |
| cleared_date | Date | | | | | | |
| createdAt | Date | | | | | | |
| liked | Boolean | | | false | x | | |
| liked_date | Date | | | | | | |
| notice_id | ObjectID | Notice | | | | | |
| read | Boolean | | | false | x | | |
| read_date | Date | | | | | | |
| replied | Boolean | | | false | x | | |
| replied_date | Date | | | | | | |
| updatedAt | Date | | | | | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}cleared
{
"path": "cleared",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}cleared_date
{
"path": "cleared_date",
"instance": "Date",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}liked
{
"path": "liked",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}liked_date
{
"path": "liked_date",
"instance": "Date",
"options": {},
"validators": []
}notice_id
{
"path": "notice_id",
"instance": "ObjectID",
"options": {
"link": "Notice"
},
"validators": []
}read
{
"path": "read",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}read_date
{
"path": "read_date",
"instance": "Date",
"options": {},
"validators": []
}replied
{
"path": "replied",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}replied_date
{
"path": "replied_date",
"instance": "Date",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}