Role.php 302 B

123456789101112131415161718192021
  1. <?php
  2. namespace App;
  3. /**
  4. * @property int $id
  5. * @property string $title
  6. * @property string $description
  7. */
  8. class Role extends Model {
  9. protected static $table = "role";
  10. protected static $idField = "id";
  11. protected static $fillableFields = [
  12. "title", "description",
  13. ];
  14. // Object methods
  15. }