Customer.php 762 B

123456789101112131415161718192021222324252627
  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. public static $user = [];
  20. public static $search = [];
  21. public static $limitKey = "customerPondState";
  22. const range_function = 'customerRange';
  23. public static $order_number = "customerTravelOrderNumber";
  24. }