Skip to content

Entities

Peter Stanko edited this page Oct 23, 2016 · 1 revision

Entities

User

An entity represents a real user, which will log in to the system and will interact with heroes.

Attributes

  • name
  • email
  • phone
  • joinDate
  • adminRights
  • passwordHash

Hero

An entity will represent a hero, that can take a missions, belong to some party (troop) and can have multiple roles.

Attributes

  • name - Name of the hero
  • experience - Experience of the hero
  • roles - Set of roles that he have assigned

Troop

An entity will represent a party, that will group heroes and assign them common objective and amount of money.

Attributes

  • name - Name of the group
  • mission - Name of the objective
  • gold - amount of money for a mission.

Role

An entity will represent a role of the hero, hero can have multiple roles and a role can be assigned to multiple users.

Attributes

  • name - Name of the role
  • description - Description of the role
  • something else - On the developer - for example some disadvantages against something or benefits.

Clone this wiki locally