Customer.php 905 B

1234567891011121314151617181920212223242526272829303132
  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; // 基础模板
  10. const Model_type_two = 2; // T9二手车客户模板
  11. const special_id = -1;
  12. public static $model_type = [
  13. self::Model_type_one,
  14. self::Model_type_two
  15. ];
  16. const dk = [
  17. 'T9改装' => self::Model_type_one,
  18. 'T9二手车' => self::Model_type_two
  19. ];
  20. const dk2 = [
  21. self::Model_type_one => 'T9改装',
  22. self::Model_type_two => 'T9二手车',
  23. ];
  24. public static $user = [];
  25. public static $search = [];
  26. public static $limitKey = "customerPondState";
  27. const range_function = 'customerRange';
  28. public static $order_number = "customerTravelOrderNumber";
  29. }