canonn-science/CAPIv2-Strapi

Add Model: patrol & patrolbroker

derrickmehaffy opened this issue · 0 comments

Requested layout:

model: patrol

reportType: string
    example: bt
reportID: (Integer?) manyToMany morph?
    example: 125 (could also be linked to the actual report, need to play with morph relationships)
reportVote: integer
    min -10
    max +10
    default 0
    note: calculated based on patrol responses, also mirrored from/to the report
priority: integer
    min 1
    max 5
    default 1
    note: used if we need to set something as high priority
isOrbital: boolean

model: patrolresponse

cmdr: relation - oneWay
    cmdr
patrol: relation - oneToOne
    patrol
dataCorrect: boolean
clientVersion: string