add relation to card

This commit is contained in:
Julius Haertl
2016-07-02 22:43:19 +02:00
parent 7bcfb7dc0f
commit 6feacc12a4

View File

@@ -20,6 +20,7 @@ class Card extends Entity implements JsonSerializable {
$this->addType('id','integer');
$this->addType('stackId','integer');
$this->addType('order','integer');
$this->addRelation('labels');
}
public function jsonSerialize() {
@@ -36,4 +37,4 @@ class Card extends Entity implements JsonSerializable {
'labels' => $this->labels,
];
}
}
}