FilesystemCategoryModel.php 775 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\Filesystem\Model;
  4. use think\Model;
  5. use think\model\concern\SoftDelete;
  6. /**
  7. * Class SixShop\Filesystem\Model\FilesystemCategoryModel
  8. *
  9. * @property int $file_count 文件数量
  10. * @property int $id 主键
  11. * @property int $level 层级
  12. * @property int $parent_id 父级ID
  13. * @property int $sort 排序
  14. * @property string $create_time 创建时间
  15. * @property string $delete_time 删除时间
  16. * @property string $name 名称
  17. * @property string $update_time 更新时间
  18. * @method static \think\db\Query onlyTrashed()
  19. * @method static \think\db\Query withTrashed()
  20. */
  21. class FilesystemCategoryModel extends Model
  22. {
  23. protected $name = 'extension_filesystem_category';
  24. protected $pk = 'id';
  25. use SoftDelete;
  26. }