SproutCMS

This is the code documentation for the SproutCMS project

source of /sprout/Models/DocumentTypeModel.php

  1. <?php
  2. namespace Sprout\Models;
  3.  
  4. use Sprout\Helpers\Model;
  5.  
  6.  
  7. class DocumentTypeModel extends Model
  8. {
  9. /** @var int */
  10. public $record_order;
  11.  
  12. /** @var string */
  13. public $name;
  14.  
  15. /** @var string|null */
  16. public $date_added;
  17.  
  18. /** @var string|null */
  19. public $date_modified;
  20.  
  21.  
  22. public static function getTableName(): string
  23. {
  24. return 'document_types';
  25. }
  26. }
  27.