SaasCart.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <?php
  2. namespace app\model\saas;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $uuid
  7. * @property integer $shop_id
  8. * @property string $name 文件名称
  9. * @property integer $total_page 总页数
  10. * @property integer $page 页数
  11. * @property integer $end_page 结束页
  12. * @property integer $start_page 起始页
  13. * @property integer $color 颜色
  14. * @property string $paper_size 纸张
  15. * @property integer $duplex 单双面1单面2双面
  16. * @property integer $direction 1
  17. * @property integer $number 打印份数
  18. * @property integer $money 金额
  19. * @property string $path 文件
  20. * @property string $old_path 原始路径
  21. * @property string $extension
  22. * @property float $discount 折扣
  23. * @property integer $source 1文档2复印
  24. * @property integer $extra_money 额外加价
  25. * @property integer $single_money 单价
  26. * @property integer $single_id 单价ID
  27. * @property string $icon
  28. * @property string $print_name 打印机名称
  29. * @property string $view_key 预览id
  30. * @property string $job
  31. * @property mixed $create_at
  32. */
  33. class SaasCart extends Model
  34. {
  35. /**
  36. * The connection name for the model.
  37. *
  38. * @var string|null
  39. */
  40. protected $connection = 'mysql';
  41. /**
  42. * The table associated with the model.
  43. *
  44. * @var string
  45. */
  46. protected string $table = "saas_cart";
  47. /**
  48. * The primary key associated with the table.
  49. *
  50. * @var string
  51. */
  52. protected string $primaryKey = "id";
  53. /**
  54. * Indicates if the model should be timestamped.
  55. *
  56. * @var bool
  57. */
  58. public bool $timestamps = false;
  59. }