SalesOrderReport.php 988 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace App\Model;
  3. class SalesOrderReport extends UseScopeBaseModel
  4. {
  5. protected $table = "sales_order_report"; //指定表
  6. const CREATED_AT = null;
  7. const UPDATED_AT = null;
  8. protected $dateFormat = 'U';
  9. const type_one = 1;
  10. const type_two = 2;
  11. const type_three = 3;
  12. const type_four = 4;
  13. const type_five = 5;
  14. public static $all_list = [
  15. self::type_one => '门店零售',
  16. self::type_two => '私域营销',
  17. self::type_three => '线上销售',
  18. self::type_four => '门店业绩',
  19. self::type_five => '客资业绩',
  20. ];
  21. const state_zero = 0;
  22. const state_one = 1;
  23. const state_two = 2;
  24. const state_three = 3;
  25. const state_four = 4;
  26. public static $all_state_list = [
  27. self::state_zero => '全部',
  28. self::state_one => '已审核',
  29. self::state_two => '施工中',
  30. self::state_three => '施工完结',
  31. self::state_four => '已交车',
  32. ];
  33. }