Skip to content
Snippets Groups Projects
Commit 8f695277 authored by Basilius Sauter's avatar Basilius Sauter
Browse files

Character model: added default parameters for name and displayName.

parent 684f86ae
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,9 @@ class Character implements CharacterInterface, CreateableInterface, GameAwareInt
/** @Id @Column(type="uuid", unique=True) */
private $id;
/** @Column(type="string", length=50); */
private $name;
private $name = "";
/** @Column(type="text"); */
private $displayName;
private $displayName = "";
/** @Column(type="integer", options={"default":10}) */
private $maxHealth = 10;
/** @Column(type="integer", options={"default":10}) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment