FileFile.php 768 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Module\File\Models;
  3. use UCore\ModelCore;
  4. /**
  5. * 文件 - 文件
  6. * field start
  7. * @property int $id
  8. * @property string $path 储存目录
  9. * @property string $re_type 关联类型
  10. * @property int $re_id 关联ID
  11. * @property string $o_name 原名
  12. * @property int $fsize 文件大小
  13. * @property string $type1 图片类型
  14. * @property \Carbon\Carbon $updated_at
  15. * @property \Carbon\Carbon $created_at
  16. * @property \Carbon\Carbon $deleted_at
  17. * field end
  18. */
  19. class FileFile extends \UCore\ModelCore
  20. {
  21. // attrlist start
  22. protected $fillable = [
  23. 'id',
  24. 'path',
  25. 're_type',
  26. 're_id',
  27. 'o_name',
  28. 'fsize',
  29. 'type1',
  30. ];
  31. // attrlist end
  32. }