backend-01

ref: master

app/models/Tag.php


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php

class Tag extends Base {
  private $name;
  private $userId;

  public function __construct($id, $name, $userId) {
    $this->id = $id;
    $this->name = $name;
    $this->userId = $userId;
  }

  public function getName() {
    return $this->name;
  }

  public function setName($name) {
    $this->name = $name;
  }

  public function getUserId() {
    return $this->userId;
  }
}