Upload.php 950 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace plugin\admin\app\model;
  3. use plugin\admin\app\model\Base;
  4. /**
  5. * @property integer $id 主键(主键)
  6. * @property string $name 名称
  7. * @property string $url url
  8. * @property integer $admin_id 管理员
  9. * @property integer $user_id 用户
  10. * @property integer $file_size 文件大小
  11. * @property string $mime_type mime类型
  12. * @property integer $image_width 图片宽度
  13. * @property integer $image_height 图片高度
  14. * @property string $ext 扩展名
  15. * @property string $storage 存储位置
  16. * @property string $created_at 上传时间
  17. * @property string $category 类别
  18. * @property string $updated_at 更新时间
  19. */
  20. class Upload extends Base
  21. {
  22. /**
  23. * The table associated with the model.
  24. *
  25. * @var string
  26. */
  27. protected $table = 'wa_uploads';
  28. /**
  29. * The primary key associated with the table.
  30. *
  31. * @var string
  32. */
  33. protected $primaryKey = 'id';
  34. }