Table : teamRoles

Raw table description

Fields

id id

{
  "name": "id",
  "type": "primaryKey"
}

contactId M  → contacts

{
  "name": "contactId",
  "type": "foreignKey",
  "table": "contacts",
  "mandatory": "true"
}

dealId M  → deals

{
  "name": "dealId",
  "type": "foreignKey",
  "table": "deals",
  "mandatory": "true"
}

role E

{
  "name": "role",
  "type": "enum",
  "enums": [
    "ENUMS_TEAMROLES_TYPE_DISPLAY_HOST (Visningsvärd)",
    "ENUMS_TEAMROLES_TYPE_BROKER (Fastighetsmäklare)",
    "ENUMS_TEAMROLES_TYPE_ASSISTANT (Assistent)",
    "ENUMS_TEAMROLES_TYPE_CONTACT_PERSON (Kontaktperson)",
    "ENUMS_TEAMROLES_TYPE_FOREST_MANAGER (Skogsmästare)",
    "ENUMS_TEAMROLES_TYPE_FOREST_TECHNICIAN (Skogstekniker)",
    "ENUMS_TEAMROLES_TYPE_ACTING_TRUSTEE (Förordnad god man)",
    "ENUMS_TEAMROLES_TYPE_FORESTER (Jägmästare)",
    "ENUMS_TEAMROLES_TYPE_FOREST_ECONOMIST (Skogsekonom)",
    "ENUMS_TEAMROLES_TYPE_SELLER (Säljare)",
    "ENUMS_TEAMROLES_TYPE_AGRONOMIST (Agronom)",
    "ENUMS_TEAMROLES_TYPE_RENTER (Uthyrare)",
    "ENUMS_TEAMROLES_TYPE_PREMISE_BROKER (Lokalmäklare)"
  ]
}

sendBiddingInformationBySMS bit

{
  "name": "sendBiddingInformationBySMS",
  "type": "bit"
}

sendBiddingInformationByEmail bit

{
  "name": "sendBiddingInformationByEmail",
  "type": "bit"
}

workTitle

{
  "name": "workTitle",
  "type": "text",
  "maxLength": 60
}

isPublic bit  (If broker should be visible on prints and object description. Main broker is always public, one more broker can be public. API will make sure only one is public at one time)

{
  "name": "isPublic",
  "type": "bit",
  "note": "If broker should be visible on prints and object description. Main broker is always public, one more broker can be public. API will make sure only one is public at one time"
}

updatedDate

{
  "name": "updatedDate",
  "type": "updated"
}