Customer.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Model;
  3. class Customer extends UseScopeBaseModel
  4. {
  5. protected $table = "customer"; //指定表
  6. const CREATED_AT = 'crt_time';
  7. const UPDATED_AT = 'upd_time';
  8. protected $dateFormat = 'U';
  9. const Model_type_one = 1; // T9改装
  10. const Model_type_two = 2; // T9二手车客户模板
  11. const Model_type_three = 3; // T9分社
  12. const special_id = -1;
  13. public static $model_type = [
  14. self::Model_type_one,
  15. self::Model_type_two,
  16. self::Model_type_three,
  17. ];
  18. const dk = [
  19. 'T9改装' => self::Model_type_one,
  20. 'T9二手车' => self::Model_type_two,
  21. 'T9分社' => self::Model_type_three,
  22. ];
  23. const dk2 = [
  24. self::Model_type_one => 'T9改装',
  25. self::Model_type_two => 'T9二手车',
  26. self::Model_type_three => 'T9分社',
  27. ];
  28. public static $user = [];
  29. public static $search = [];
  30. public static $limitKey = "customerPondState";
  31. const range_function = 'customerRange';
  32. public static $order_number = "customerTravelOrderNumber";
  33. }