Customer.php 878 B

12345678910111213141516171819202122232425262728293031
  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. public static $model_type = [
  12. self::Model_type_one,
  13. self::Model_type_two
  14. ];
  15. const dk = [
  16. 'T9改装' => self::Model_type_one,
  17. 'T9二手车' => self::Model_type_two
  18. ];
  19. const dk2 = [
  20. self::Model_type_one => 'T9改装',
  21. self::Model_type_two => 'T9二手车',
  22. ];
  23. public static $user = [];
  24. public static $search = [];
  25. public static $limitKey = "customerPondState";
  26. const range_function = 'customerRange';
  27. public static $order_number = "customerTravelOrderNumber";
  28. }